зеркало из https://github.com/mozilla/gecko-dev.git
Adding rods reflow debugging tools to pref/debug panel (72582). r=pchen, sr=alecf
This commit is contained in:
Родитель
5cf54ef522
Коммит
54c72a70a7
|
@ -35,7 +35,9 @@
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var _elementIDs = ["nglayoutDebugPaintFlashing", "nglayoutDebugPaintDumping",
|
var _elementIDs = ["nglayoutDebugPaintFlashing", "nglayoutDebugPaintDumping",
|
||||||
"nglayoutDebugInvalidateDumping", "nglayoutDebugEventDumping",
|
"nglayoutDebugInvalidateDumping", "nglayoutDebugEventDumping",
|
||||||
"nglayoutDebugMotionEventDumping", "nglayoutDebugCrossingEventDumping", ];
|
"nglayoutDebugMotionEventDumping", "nglayoutDebugCrossingEventDumping",
|
||||||
|
"layoutReflowShowFrameCounts", "layoutReflowDumpFrameCounts",
|
||||||
|
"layoutReflowDumpFrameByFrameCounts" ];
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -69,5 +71,22 @@
|
||||||
</vbox>
|
</vbox>
|
||||||
</titledbox>
|
</titledbox>
|
||||||
|
|
||||||
|
<!-- Reflow events -->
|
||||||
|
<titledbox orient="vertical">
|
||||||
|
<title><text value="&debugReflowEvents.label;"/></title>
|
||||||
|
<vbox autostretch="never">
|
||||||
|
<checkbox id="layoutReflowShowFrameCounts" value="&debugReflowShowFrameCounts.label;"
|
||||||
|
pref="true" preftype="bool" prefstring="layout.reflow.showframecounts"
|
||||||
|
prefattribute="checked"/>
|
||||||
|
<checkbox id="layoutReflowDumpFrameCounts" value="&debugReflowDumpFrameCounts.label;"
|
||||||
|
pref="true" preftype="bool" prefstring="layout.reflow.dumpframecounts"
|
||||||
|
prefattribute="checked"/>
|
||||||
|
<checkbox id="layoutReflowDumpFrameByFrameCounts" value="&debugReflowDumpFrameByFrameCounts.label;"
|
||||||
|
pref="true" preftype="bool" prefstring="layout.reflow.dumpframebyframecounts"
|
||||||
|
prefattribute="checked"/>
|
||||||
|
</vbox>
|
||||||
|
</titledbox>
|
||||||
|
|
||||||
|
|
||||||
</window>
|
</window>
|
||||||
|
|
||||||
|
|
|
@ -15,3 +15,8 @@
|
||||||
<!ENTITY debugMotionEventDumping.label "Motion Event Dumping">
|
<!ENTITY debugMotionEventDumping.label "Motion Event Dumping">
|
||||||
<!ENTITY debugCrossingEventDumping.label "Crossing Event Dumping">
|
<!ENTITY debugCrossingEventDumping.label "Crossing Event Dumping">
|
||||||
|
|
||||||
|
<!-- Reflow events -->
|
||||||
|
<!ENTITY debugReflowEvents.label "Reflow Debugging">
|
||||||
|
<!ENTITY debugReflowShowFrameCounts.label "Show frame counts">
|
||||||
|
<!ENTITY debugReflowDumpFrameCounts.label "Dump frame counts">
|
||||||
|
<!ENTITY debugReflowDumpFrameByFrameCounts.label "Dump frame by frame counts">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче