OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ | 5 #ifndef UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ |
6 #define UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ | 6 #define UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "ui/gfx/geometry/insets.h" | 13 #include "ui/gfx/geometry/insets.h" |
12 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
13 #include "ui/views/layout/layout_manager.h" | 15 #include "ui/views/layout/layout_manager.h" |
14 | 16 |
15 // GridLayout is a LayoutManager that positions child Views in a grid. You | 17 // GridLayout is a LayoutManager that positions child Views in a grid. You |
16 // define the structure of the Grid first, then add the Views. | 18 // define the structure of the Grid first, then add the Views. |
17 // The following creates a trivial grid with two columns separated by | 19 // The following creates a trivial grid with two columns separated by |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // The master column of those columns that are linked. See Column | 367 // The master column of those columns that are linked. See Column |
366 // for a description of what the master column is. | 368 // for a description of what the master column is. |
367 std::vector<Column*> master_columns_; | 369 std::vector<Column*> master_columns_; |
368 | 370 |
369 DISALLOW_COPY_AND_ASSIGN(ColumnSet); | 371 DISALLOW_COPY_AND_ASSIGN(ColumnSet); |
370 }; | 372 }; |
371 | 373 |
372 } // namespace views | 374 } // namespace views |
373 | 375 |
374 #endif // UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ | 376 #endif // UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ |
OLD | NEW |