summaryrefslogtreecommitdiffstats
path: root/views/layout
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-09 23:17:49 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-09 23:17:49 +0000
commit6e472da04f540d7837b7a344383869013bc57a3d (patch)
treec67dd1a65eee9d5174c4bfdd269f6bdc2acac430 /views/layout
parent0189514260039b943294ede22d1056928a766fd1 (diff)
downloadchromium_src-6e472da04f540d7837b7a344383869013bc57a3d.zip
chromium_src-6e472da04f540d7837b7a344383869013bc57a3d.tar.gz
chromium_src-6e472da04f540d7837b7a344383869013bc57a3d.tar.bz2
views: Move more layout constants to the views namespace. Part 2.
The other constants will be moved in future patches. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6458014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74372 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/layout')
-rw-r--r--views/layout/layout_constants.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/views/layout/layout_constants.h b/views/layout/layout_constants.h
index bd90e4e..b322965 100644
--- a/views/layout/layout_constants.h
+++ b/views/layout/layout_constants.h
@@ -35,28 +35,28 @@ const int kRelatedControlVerticalSpacing = 8;
// Small vertical spacing between controls that are logically related.
const int kRelatedControlSmallVerticalSpacing = 4;
-// Vertical spacing between controls that are logically unrelated.
-const int kUnrelatedControlVerticalSpacing = 20;
-
-// Larger vertical spacing between unrelated controls.
-const int kUnrelatedControlLargeVerticalSpacing = 30;
-
// Small horizontal spacing between controls that are logically related.
const int kRelatedControlSmallHorizontalSpacing = 8;
// Horizontal spacing between controls that are logically related.
const int kRelatedControlHorizontalSpacing = 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 {
+
// Horizontal spacing between controls that are logically unrelated.
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 controls that are logically unrelated.
+const int kUnrelatedControlVerticalSpacing = 20;
+
+// Larger vertical spacing between unrelated controls.
+const int kUnrelatedControlLargeVerticalSpacing = 30;
// Vertical spacing between the edge of the window and the
// top or bottom of a button.