summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 03:02:12 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 03:02:12 +0000
commit12e02fab8ec3e85bdb2e6c60116fc53d95b18ce0 (patch)
tree9c6fe120014a832b05ad138cb36bf43ccbac0424 /views
parent1ee59cb007ee9ed5aced09853b1976871857e16d (diff)
downloadchromium_src-12e02fab8ec3e85bdb2e6c60116fc53d95b18ce0.zip
chromium_src-12e02fab8ec3e85bdb2e6c60116fc53d95b18ce0.tar.gz
chromium_src-12e02fab8ec3e85bdb2e6c60116fc53d95b18ce0.tar.bz2
views: Move the remaining layout constants to the views namespace. Final Part.
BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6538076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/layout/layout_constants.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/views/layout/layout_constants.h b/views/layout/layout_constants.h
index 2d0c1d3..85633d4 100644
--- a/views/layout/layout_constants.h
+++ b/views/layout/layout_constants.h
@@ -10,6 +10,8 @@
// layout.
// see: spec 21/4
+namespace views {
+
// Left or right margin.
const int kPanelHorizMargin = 13;
@@ -29,11 +31,6 @@ const int kPanelSubVerticalSpacing = 24;
// Vertical spacing between a label and some control.
const int kLabelToControlVerticalSpacing = 8;
-// 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 {
-
// Small horizontal spacing between controls that are logically related.
const int kRelatedControlSmallHorizontalSpacing = 8;