summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 12:52:29 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 12:52:29 +0000
commit8d0f80014579e4763286b9d4779a9c79d16cd132 (patch)
tree9960516820b0c0c6da24644f0c68245d4ee8a2cb /chrome/browser/chromeos
parent3846fb2460ddb4914193428e5f8f5c6c9826740c (diff)
downloadchromium_src-8d0f80014579e4763286b9d4779a9c79d16cd132.zip
chromium_src-8d0f80014579e4763286b9d4779a9c79d16cd132.tar.gz
chromium_src-8d0f80014579e4763286b9d4779a9c79d16cd132.tar.bz2
views: Make CreatePanelGridLayout a static method of GridLayout class.
Move it from standard_layout.h and rename to just CreatePanel. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6384002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
-rw-r--r--chrome/browser/chromeos/login/captcha_view.cc4
-rw-r--r--chrome/browser/chromeos/login/eula_view.cc2
-rw-r--r--chrome/browser/chromeos/login/password_changed_view.cc4
-rw-r--r--chrome/browser/chromeos/options/internet_page_view.cc2
-rw-r--r--chrome/browser/chromeos/options/system_page_view.cc4
-rw-r--r--chrome/browser/chromeos/options/wifi_config_view.cc4
6 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/chromeos/login/captcha_view.cc b/chrome/browser/chromeos/login/captcha_view.cc
index 88658fc..cf16199 100644
--- a/chrome/browser/chromeos/login/captcha_view.cc
+++ b/chrome/browser/chromeos/login/captcha_view.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -154,7 +154,7 @@ void CaptchaView::Init() {
set_background(views::Background::CreateBackgroundPainter(true, painter));
}
- views::GridLayout* layout = CreatePanelGridLayout(this);
+ views::GridLayout* layout = views::GridLayout::CreatePanel(this);
SetLayoutManager(layout);
int column_view_set_id = 0;
diff --git a/chrome/browser/chromeos/login/eula_view.cc b/chrome/browser/chromeos/login/eula_view.cc
index 5cb76ae..63c9422 100644
--- a/chrome/browser/chromeos/login/eula_view.cc
+++ b/chrome/browser/chromeos/login/eula_view.cc
@@ -130,7 +130,7 @@ class TpmInfoView : public views::View,
};
void TpmInfoView::Init() {
- views::GridLayout* layout = CreatePanelGridLayout(this);
+ views::GridLayout* layout = views::GridLayout::CreatePanel(this);
SetLayoutManager(layout);
views::ColumnSet* column_set = layout->AddColumnSet(0);
column_set->AddColumn(views::GridLayout::FILL, views::GridLayout::FILL, 1,
diff --git a/chrome/browser/chromeos/login/password_changed_view.cc b/chrome/browser/chromeos/login/password_changed_view.cc
index 38c4fc8..7a28a07 100644
--- a/chrome/browser/chromeos/login/password_changed_view.cc
+++ b/chrome/browser/chromeos/login/password_changed_view.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -117,7 +117,7 @@ void PasswordChangedView::Init() {
old_password_field_->SetController(this);
// Define controls layout.
- GridLayout* layout = CreatePanelGridLayout(this);
+ GridLayout* layout = GridLayout::CreatePanel(this);
SetLayoutManager(layout);
views::ColumnSet* column_set = layout->AddColumnSet(0);
diff --git a/chrome/browser/chromeos/options/internet_page_view.cc b/chrome/browser/chromeos/options/internet_page_view.cc
index 5601e34..f4b63766 100644
--- a/chrome/browser/chromeos/options/internet_page_view.cc
+++ b/chrome/browser/chromeos/options/internet_page_view.cc
@@ -534,7 +534,7 @@ void InternetPageContentView::DidChangeBounds(const gfx::Rect& previous,
}
void InternetPageContentView::InitControlLayout() {
- GridLayout* layout = CreatePanelGridLayout(this);
+ GridLayout* layout = GridLayout::CreatePanel(this);
SetLayoutManager(layout);
int single_column_view_set_id = 0;
diff --git a/chrome/browser/chromeos/options/system_page_view.cc b/chrome/browser/chromeos/options/system_page_view.cc
index e251f50..da659c5 100644
--- a/chrome/browser/chromeos/options/system_page_view.cc
+++ b/chrome/browser/chromeos/options/system_page_view.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -379,7 +379,7 @@ void AccessibilitySection::NotifyPrefChanged(const std::string* pref_name) {
// SystemPageView, SettingsPageView implementation:
void SystemPageView::InitControlLayout() {
- GridLayout* layout = CreatePanelGridLayout(this);
+ GridLayout* layout = GridLayout::CreatePanel(this);
SetLayoutManager(layout);
int single_column_view_set_id = 0;
diff --git a/chrome/browser/chromeos/options/wifi_config_view.cc b/chrome/browser/chromeos/options/wifi_config_view.cc
index 413b13c..ad1cd76d 100644
--- a/chrome/browser/chromeos/options/wifi_config_view.cc
+++ b/chrome/browser/chromeos/options/wifi_config_view.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -282,7 +282,7 @@ const std::string WifiConfigView::GetPassphrase() const {
}
void WifiConfigView::Init() {
- views::GridLayout* layout = CreatePanelGridLayout(this);
+ views::GridLayout* layout = views::GridLayout::CreatePanel(this);
SetLayoutManager(layout);
int column_view_set_id = 0;