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

Side by Side Diff: views/grid_layout.h

Issue 6374011: views: Move layout_manager.[cc,h] into layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: layout-manager Created 9 years, 11 months 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
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 VIEWS_GRID_LAYOUT_H_ 5 #ifndef VIEWS_GRID_LAYOUT_H_
6 #define VIEWS_GRID_LAYOUT_H_ 6 #define VIEWS_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 "views/layout_manager.h" 12 #include "views/layout/layout_manager.h"
13 #include "views/view.h" 13 #include "views/view.h"
14 14
15 namespace gfx { 15 namespace gfx {
16 class Insets; 16 class Insets;
17 } 17 }
18 18
19 // GridLayout is a LayoutManager that positions child Views in a grid. You 19 // GridLayout is a LayoutManager that positions child Views in a grid. You
20 // define the structure of the Grid first, then add the Views. 20 // define the structure of the Grid first, then add the Views.
21 // The following creates a trivial grid with two columns separated by 21 // The following creates a trivial grid with two columns separated by
22 // a column with padding: 22 // a column with padding:
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 // The master column of those columns that are linked. See Column 362 // The master column of those columns that are linked. See Column
363 // for a description of what the master column is. 363 // for a description of what the master column is.
364 std::vector<Column*> master_columns_; 364 std::vector<Column*> master_columns_;
365 365
366 DISALLOW_COPY_AND_ASSIGN(ColumnSet); 366 DISALLOW_COPY_AND_ASSIGN(ColumnSet);
367 }; 367 };
368 368
369 } // namespace views 369 } // namespace views
370 370
371 #endif // VIEWS_GRID_LAYOUT_H_ 371 #endif // VIEWS_GRID_LAYOUT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698