| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |