3
edits
(Update for the changes that split nsGlobalWindow into two separate classes) |
(Changed HTMLReflowState to ReflowInput and HTMLReflowMetrics to ReflowOutput) |
||
Line 455: | Line 455: | ||
Code (note that most files in base and generic have useful one line descriptions at the top that show up in DXR): | Code (note that most files in base and generic have useful one line descriptions at the top that show up in DXR): | ||
* [http://dxr.mozilla.org/mozilla-central/source/layout/base/ layout/base/] contains objects that coordinate everything and a bunch of other miscellaneous things | * [http://dxr.mozilla.org/mozilla-central/source/layout/base/ layout/base/] contains objects that coordinate everything and a bunch of other miscellaneous things | ||
* [http://dxr.mozilla.org/mozilla-central/source/layout/generic/ layout/generic/] contains the basic frame classes as well as support code for their reflow methods ( | * [http://dxr.mozilla.org/mozilla-central/source/layout/generic/ layout/generic/] contains the basic frame classes as well as support code for their reflow methods (ReflowInput, ReflowOutput) | ||
* [http://dxr.mozilla.org/mozilla-central/source/layout/forms/ layout/forms/] contains frame classes for HTML form controls | * [http://dxr.mozilla.org/mozilla-central/source/layout/forms/ layout/forms/] contains frame classes for HTML form controls | ||
* [http://dxr.mozilla.org/mozilla-central/source/layout/tables/ layout/tables/] contains frame classes for CSS/HTML tables | * [http://dxr.mozilla.org/mozilla-central/source/layout/tables/ layout/tables/] contains frame classes for CSS/HTML tables | ||
Line 554: | Line 554: | ||
When an individual frame's Reflow method is called, most of the input is | When an individual frame's Reflow method is called, most of the input is | ||
provided on an object called | provided on an object called ReflowInput and the output is filled | ||
in to an object called | in to an object called ReflowOutput. After reflow, the caller | ||
(usually the parent) is responsible for setting the frame's size based | (usually the parent) is responsible for setting the frame's size based | ||
on the metrics reported. (This can make some computations during reflow | on the metrics reported. (This can make some computations during reflow |
edits