Use an html instead of a xul progress bar for better perf on Linux (bug 1003664). r=jlongster, f=darktrojan

This commit is contained in:
Panos Astithas 2015-03-24 18:32:41 +02:00
Родитель 358a43b689
Коммит 02dfbfe7de
2 изменённых файлов: 17 добавлений и 6 удалений

Просмотреть файл

@ -48,3 +48,13 @@
#body[layout=vertical] #stackframes { #body[layout=vertical] #stackframes {
visibility: hidden; visibility: hidden;
} }
#source-progress-container {
display: flex;
flex-flow: column;
justify-content: center;
}
#source-progress {
flex: none;
}

Просмотреть файл

@ -15,6 +15,7 @@
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
macanimationtype="document" macanimationtype="document"
fullscreenbutton="true" fullscreenbutton="true"
screenX="4" screenY="4" screenX="4" screenY="4"
@ -421,12 +422,12 @@
label="&debuggerUI.blackBoxMessage.unBlackBoxButton;" label="&debuggerUI.blackBoxMessage.unBlackBoxButton;"
command="unBlackBoxCommand"/> command="unBlackBoxCommand"/>
</vbox> </vbox>
<vbox id="source-progress-container" <html:div id="source-progress-container"
align="center" align="center">
pack="center"> <html:div id="hbox">
<progressmeter id="source-progress" <html:progress id="source-progress"></html:progress>
mode="undetermined"/> </html:div>
</vbox> </html:div>
</deck> </deck>
<splitter id="editor-and-instruments-splitter" <splitter id="editor-and-instruments-splitter"
class="devtools-side-splitter"/> class="devtools-side-splitter"/>