summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 02:16:30 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 02:16:30 +0000
commitf1609e5aa28aea157b877418c83fc758173a1062 (patch)
tree304d2065dde8aa8cbe6e5a64fc475ec6c433e4a2 /views
parent7397ca0c5d8a3f0743ce95278ca601a18ad7cc37 (diff)
downloadchromium_src-f1609e5aa28aea157b877418c83fc758173a1062.zip
chromium_src-f1609e5aa28aea157b877418c83fc758173a1062.tar.gz
chromium_src-f1609e5aa28aea157b877418c83fc758173a1062.tar.bz2
views: Move more layout constants to the views namespace.
The other constants will be moved in future patches. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6250186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-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;