diff options
Diffstat (limited to 'ui/views/layout/grid_layout.h')
-rw-r--r-- | ui/views/layout/grid_layout.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ui/views/layout/grid_layout.h b/ui/views/layout/grid_layout.h index 44ca26a..f026eb7 100644 --- a/ui/views/layout/grid_layout.h +++ b/ui/views/layout/grid_layout.h @@ -9,13 +9,10 @@ #include <vector> #include "base/compiler_specific.h" +#include "ui/gfx/insets.h" #include "ui/views/layout/layout_manager.h" #include "ui/views/view.h" -namespace gfx { -class Insets; -} - // GridLayout is a LayoutManager that positions child Views in a grid. You // define the structure of the Grid first, then add the Views. // The following creates a trivial grid with two columns separated by @@ -241,10 +238,7 @@ class VIEWS_EXPORT GridLayout : public LayoutManager { ColumnSet* current_row_col_set_; // Insets. - int top_inset_; - int bottom_inset_; - int left_inset_; - int right_inset_; + gfx::Insets insets_; // Set to true when adding a View. bool adding_view_; |