Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: ui/views/layout/grid_layout.h

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698