From f1609e5aa28aea157b877418c83fc758173a1062 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Tue, 8 Feb 2011 02:16:30 +0000 Subject: 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 --- views/layout/layout_constants.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'views/layout') 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; -- cgit v1.1