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

Side by Side Diff: views/standard_layout.h

Issue 113143: Move color_utils, text_elider, drag_utils, accessibility_types, standard_layo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/drag_utils.cc ('k') | views/view.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_VIEWS_STANDARD_LAYOUT_H__ 5 #ifndef VIEWS_STANDARD_LAYOUT_H_
6 #define CHROME_BROWSER_VIEWS_STANDARD_LAYOUT_H__ 6 #define VIEWS_STANDARD_LAYOUT_H_
7 7
8 #include "views/grid_layout.h" 8 #include "views/grid_layout.h"
9 9
10 // 10 //
11 // This file contains some constants we use to implement our standard panel 11 // This file contains some constants we use to implement our standard panel
12 // layout. 12 // layout.
13 // see: spec 21/4 13 // see: spec 21/4
14 14
15 // Left or right margin. 15 // Left or right margin.
16 const int kPanelHorizMargin = 13; 16 const int kPanelHorizMargin = 13;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const int kRelatedButtonHSpacing = 6; 67 const int kRelatedButtonHSpacing = 6;
68 68
69 // Creates a GridLayout with kPanel*Margin insets. 69 // Creates a GridLayout with kPanel*Margin insets.
70 static views::GridLayout* CreatePanelGridLayout(views::View* host) { 70 static views::GridLayout* CreatePanelGridLayout(views::View* host) {
71 views::GridLayout* layout = new views::GridLayout(host); 71 views::GridLayout* layout = new views::GridLayout(host);
72 layout->SetInsets(kPanelVertMargin, kPanelHorizMargin, 72 layout->SetInsets(kPanelVertMargin, kPanelHorizMargin,
73 kPanelVertMargin, kPanelHorizMargin); 73 kPanelVertMargin, kPanelHorizMargin);
74 return layout; 74 return layout;
75 } 75 }
76 76
77 #endif // CHROME_BROWSER_VIEWS_STANDARD_LAYOUT_H__ 77 #endif // VIEWS_STANDARD_LAYOUT_H_
OLDNEW
« no previous file with comments | « views/drag_utils.cc ('k') | views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698