| Index: ui/views/layout/box_layout.h
|
| diff --git a/ui/views/layout/box_layout.h b/ui/views/layout/box_layout.h
|
| index 9a87984d51f77cec0caa488860fa6dc1986f9e28..8507cb06fd655f9fd38f416100cbb7e9d2b66ff9 100644
|
| --- a/ui/views/layout/box_layout.h
|
| +++ b/ui/views/layout/box_layout.h
|
| @@ -97,6 +97,24 @@ class VIEWS_EXPORT BoxLayout : public LayoutManager {
|
| // Sets the flex for views to use when none is specified.
|
| void SetDefaultFlex(int default_flex);
|
|
|
| + // Positions individual child.
|
| + void LayoutChild(View* child,
|
| + const gfx::Rect& child_area,
|
| + int main_free_space,
|
| + int flex_sum,
|
| + int* main_position,
|
| + int* current_flex,
|
| + int* total_padding);
|
| +
|
| + // Positions all children. Can be overridden to change the visible order.
|
| + virtual void LayoutChildren(View* host,
|
| + const gfx::Rect& child_area,
|
| + int main_free_space,
|
| + int flex_sum,
|
| + int main_position,
|
| + int current_flex,
|
| + int* total_padding);
|
| +
|
| // Overridden from views::LayoutManager:
|
| void Installed(View* host) override;
|
| void ViewRemoved(View* host, View* view) override;
|
|
|