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

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

Issue 8742030: views: Move view.h to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and fix conflicts Created 9 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/layout/fill_layout.h ('k') | ui/views/layout/grid_layout.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "ui/views/layout/layout_manager.h" 13 #include "ui/views/layout/layout_manager.h"
14 #include "views/view.h" 14 #include "ui/views/view.h"
15 15
16 namespace gfx { 16 namespace gfx {
17 class Insets; 17 class Insets;
18 } 18 }
19 19
20 // GridLayout is a LayoutManager that positions child Views in a grid. You 20 // GridLayout is a LayoutManager that positions child Views in a grid. You
21 // define the structure of the Grid first, then add the Views. 21 // define the structure of the Grid first, then add the Views.
22 // The following creates a trivial grid with two columns separated by 22 // The following creates a trivial grid with two columns separated by
23 // a column with padding: 23 // a column with padding:
24 // ColumnSet* columns = layout->AddColumnSet(0); // Give this column an 24 // ColumnSet* columns = layout->AddColumnSet(0); // Give this column an
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 // The master column of those columns that are linked. See Column 363 // The master column of those columns that are linked. See Column
364 // for a description of what the master column is. 364 // for a description of what the master column is.
365 std::vector<Column*> master_columns_; 365 std::vector<Column*> master_columns_;
366 366
367 DISALLOW_COPY_AND_ASSIGN(ColumnSet); 367 DISALLOW_COPY_AND_ASSIGN(ColumnSet);
368 }; 368 };
369 369
370 } // namespace views 370 } // namespace views
371 371
372 #endif // UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ 372 #endif // UI_VIEWS_LAYOUT_GRID_LAYOUT_H_
OLDNEW
« no previous file with comments | « ui/views/layout/fill_layout.h ('k') | ui/views/layout/grid_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698