Adding rods reflow debugging tools to pref/debug panel (72582). r=pchen, sr=alecf

This commit is contained in:
mcafee%netscape.com 2001-03-20 05:29:02 +00:00
parent edaf3b03bc
commit 1c4af4d469
2 changed files with 25 additions and 1 deletions

View File

@ -35,7 +35,9 @@
<![CDATA[
var _elementIDs = ["nglayoutDebugPaintFlashing", "nglayoutDebugPaintDumping",
"nglayoutDebugInvalidateDumping", "nglayoutDebugEventDumping",
"nglayoutDebugMotionEventDumping", "nglayoutDebugCrossingEventDumping", ];
"nglayoutDebugMotionEventDumping", "nglayoutDebugCrossingEventDumping",
"layoutReflowShowFrameCounts", "layoutReflowDumpFrameCounts",
"layoutReflowDumpFrameByFrameCounts" ];
]]>
</script>
@ -69,5 +71,22 @@
</vbox>
</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>

View File

@ -15,3 +15,8 @@
<!ENTITY debugMotionEventDumping.label "Motion 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">