From 6e472da04f540d7837b7a344383869013bc57a3d Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Wed, 9 Feb 2011 23:17:49 +0000 Subject: 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 --- views/controls/message_box_view.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'views/controls') diff --git a/views/controls/message_box_view.cc b/views/controls/message_box_view.cc index 50ac7af..cf2d8e1 100644 --- a/views/controls/message_box_view.cc +++ b/views/controls/message_box_view.cc @@ -166,7 +166,7 @@ void MessageBoxView::ResetLayoutManager() { column_set->AddColumn(GridLayout::LEADING, GridLayout::LEADING, 0, GridLayout::FIXED, icon_size.width(), icon_size.height()); - column_set->AddPaddingColumn(0, kUnrelatedControlHorizontalSpacing); + column_set->AddPaddingColumn(0, views::kUnrelatedControlHorizontalSpacing); } column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, GridLayout::FIXED, message_width_, 0); @@ -176,8 +176,8 @@ void MessageBoxView::ResetLayoutManager() { if (prompt_field_) { column_set = layout->AddColumnSet(textfield_column_view_set_id); if (icon_) { - column_set->AddPaddingColumn(0, - icon_size.width() + kUnrelatedControlHorizontalSpacing); + column_set->AddPaddingColumn( + 0, icon_size.width() + views::kUnrelatedControlHorizontalSpacing); } column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, GridLayout::USE_PREF, 0, 0); @@ -188,8 +188,8 @@ void MessageBoxView::ResetLayoutManager() { if (checkbox_) { column_set = layout->AddColumnSet(checkbox_column_view_set_id); if (icon_) { - column_set->AddPaddingColumn(0, - icon_size.width() + kUnrelatedControlHorizontalSpacing); + column_set->AddPaddingColumn( + 0, icon_size.width() + views::kUnrelatedControlHorizontalSpacing); } column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, GridLayout::USE_PREF, 0, 0); -- cgit v1.1