summaryrefslogtreecommitdiffstats
path: root/views/layout/layout_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/layout/layout_constants.h')
-rw-r--r--views/layout/layout_constants.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/layout/layout_constants.h b/views/layout/layout_constants.h
index 57abf96..bd90e4e 100644
--- a/views/layout/layout_constants.h
+++ b/views/layout/layout_constants.h
@@ -53,6 +53,11 @@ const int kUnrelatedControlHorizontalSpacing = 12;
// Larger horizontal spacing between unrelated controls.
const int kUnrelatedControlLargeHorizontalSpacing = 20;
+// TODO(tfarina): Move this namespace to the top of this file around of all
+// these constants. But this needs to be done in small steps, as it's
+// impossible to convert everything at the same time.
+namespace views {
+
// Vertical spacing between the edge of the window and the
// top or bottom of a button.
const int kButtonVEdgeMargin = 6;
@@ -61,11 +66,6 @@ const int kButtonVEdgeMargin = 6;
// left or right of a button.
const int kButtonHEdgeMargin = 7;
-// TODO(tfarina): Move this namespace to the top of this file around of all
-// these constants. But this needs to be done in small steps, as it's
-// impossible to convert everything at the same time.
-namespace views {
-
// Horizontal spacing between buttons that are logically related.
const int kRelatedButtonHSpacing = 6;