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

Side by Side Diff: views/standard_layout.h

Issue 6384002: views: Make CreatePanelGridLayout a static method of GridLayout class. (Closed)
Patch Set: fix trybots 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
« no previous file with comments | « views/grid_layout.cc ('k') | no next file » | 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) 2006-2008 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_STANDARD_LAYOUT_H_ 5 #ifndef VIEWS_STANDARD_LAYOUT_H_
6 #define VIEWS_STANDARD_LAYOUT_H_ 6 #define VIEWS_STANDARD_LAYOUT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/grid_layout.h" 9 #include "views/grid_layout.h"
10 10
11 // 11 //
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // top or bottom of a button. 60 // top or bottom of a button.
61 const int kButtonVEdgeMargin = 6; 61 const int kButtonVEdgeMargin = 6;
62 62
63 // Vertical spacing between the edge of the window and the 63 // Vertical spacing between the edge of the window and the
64 // left or right of a button. 64 // left or right of a button.
65 const int kButtonHEdgeMargin = 7; 65 const int kButtonHEdgeMargin = 7;
66 66
67 // Horizontal spacing between buttons that are logically related. 67 // Horizontal spacing between buttons that are logically related.
68 const int kRelatedButtonHSpacing = 6; 68 const int kRelatedButtonHSpacing = 6;
69 69
70 // Creates a GridLayout with kPanel*Margin insets.
71 views::GridLayout* CreatePanelGridLayout(views::View* host);
72
73 #endif // VIEWS_STANDARD_LAYOUT_H_ 70 #endif // VIEWS_STANDARD_LAYOUT_H_
OLDNEW
« no previous file with comments | « views/grid_layout.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698