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

Side by Side Diff: views/layout/layout_constants.h

Issue 6257017: views: Move standard_layout.h into the layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win 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
« no previous file with comments | « views/grid_layout.cc ('k') | views/views.gyp » ('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 VIEWS_STANDARD_LAYOUT_H_ 5 #ifndef VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_
6 #define VIEWS_STANDARD_LAYOUT_H_ 6 #define VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/grid_layout.h"
10
11 //
12 // This file contains some constants we use to implement our standard panel 9 // This file contains some constants we use to implement our standard panel
13 // layout. 10 // layout.
14 // see: spec 21/4 11 // see: spec 21/4
15 12
16 // Left or right margin. 13 // Left or right margin.
17 const int kPanelHorizMargin = 13; 14 const int kPanelHorizMargin = 13;
18 15
19 // Top or bottom margin. 16 // Top or bottom margin.
20 const int kPanelVertMargin = 13; 17 const int kPanelVertMargin = 13;
21 18
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // top or bottom of a button. 57 // top or bottom of a button.
61 const int kButtonVEdgeMargin = 6; 58 const int kButtonVEdgeMargin = 6;
62 59
63 // Vertical spacing between the edge of the window and the 60 // Vertical spacing between the edge of the window and the
64 // left or right of a button. 61 // left or right of a button.
65 const int kButtonHEdgeMargin = 7; 62 const int kButtonHEdgeMargin = 7;
66 63
67 // Horizontal spacing between buttons that are logically related. 64 // Horizontal spacing between buttons that are logically related.
68 const int kRelatedButtonHSpacing = 6; 65 const int kRelatedButtonHSpacing = 6;
69 66
70 #endif // VIEWS_STANDARD_LAYOUT_H_ 67 #endif // VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « views/grid_layout.cc ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698