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, |
tdanderson
2016/10/28 19:42:41
nit: make private?
varkha
2016/11/02 02:03:21
Acknowledged.
|
+ 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. |
tdanderson
2016/10/28 19:42:41
nit: It would be nice to have some documentation h
varkha
2016/11/02 02:03:21
Acknowledged.
|
+ 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; |