summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/options_page_view.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 00:26:30 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 00:26:30 +0000
commit4d0bd1045bc0df8daea2a5626e73906cb074631b (patch)
tree6794b895e236b68c2f7de1163dfb1c554646364c /chrome/browser/views/options/options_page_view.cc
parent7609533b68dcbeaa80bf712dd84726d1da8d3f8a (diff)
downloadchromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.zip
chromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.tar.gz
chromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.tar.bz2
Rename ViewContainer to Container and HWNDViewContainer to ContainerWin.
http://crbug.com/3430 Review URL: http://codereview.chromium.org/7376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options/options_page_view.cc')
-rw-r--r--chrome/browser/views/options/options_page_view.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/views/options/options_page_view.cc b/chrome/browser/views/options/options_page_view.cc
index d6ea955..5672397 100644
--- a/chrome/browser/views/options/options_page_view.cc
+++ b/chrome/browser/views/options/options_page_view.cc
@@ -7,7 +7,7 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/user_metrics.h"
#include "chrome/common/pref_service.h"
-#include "chrome/views/view_container.h"
+#include "chrome/views/container.h"
///////////////////////////////////////////////////////////////////////////////
// OptionsPageView
@@ -43,7 +43,7 @@ void OptionsPageView::Observe(NotificationType type,
void OptionsPageView::ViewHierarchyChanged(bool is_add,
ChromeViews::View* parent,
ChromeViews::View* child) {
- if (!initialized_ && is_add && GetViewContainer()) {
+ if (!initialized_ && is_add && GetContainer()) {
// It is important that this only get done _once_ otherwise we end up
// duplicating the view hierarchy when tabs are switched.
initialized_ = true;
@@ -53,7 +53,7 @@ void OptionsPageView::ViewHierarchyChanged(bool is_add,
}
HWND OptionsPageView::GetRootWindow() const {
- // Our ViewContainer is the TabbedPane content HWND, which is a child HWND.
+ // Our Container is the TabbedPane content HWND, which is a child HWND.
// We need the root HWND for parenting.
- return GetAncestor(GetViewContainer()->GetHWND(), GA_ROOT);
+ return GetAncestor(GetContainer()->GetHWND(), GA_ROOT);
}