summaryrefslogtreecommitdiffstats
path: root/views/controls
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/controls
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/controls')
-rw-r--r--views/controls/message_box_view.cc10
1 files changed, 5 insertions, 5 deletions
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);