diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 23:51:38 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 23:51:38 +0000 |
commit | c2dacc9ec41232903ba700c6aef5ef98bfcb8af8 (patch) | |
tree | 4aa4d7100862c64bdd92d70e6323001beb19edb7 /chrome/browser/external_tab_container.cc | |
parent | d66e710ec668e34271def44d7f0416260657171c (diff) | |
download | chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.zip chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.gz chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.bz2 |
Rename ChromeViews namespace to views
http://crbug.com/2188
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r-- | chrome/browser/external_tab_container.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index abf033f..6b7c131 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -50,11 +50,11 @@ bool ExternalTabContainer::Init(Profile* profile) { // is the same as the lifetime of the window SetProp(*this, kWindowObjectKey, this); - ChromeViews::SetRootViewForHWND(m_hWnd, &root_view_); + views::SetRootViewForHWND(m_hWnd, &root_view_); // CreateFocusManager will subclass this window and delete the FocusManager // instance when this window goes away. - ChromeViews::FocusManager* focus_manager = - ChromeViews::FocusManager::CreateFocusManager(m_hWnd, GetRootView()); + views::FocusManager* focus_manager = + views::FocusManager::CreateFocusManager(m_hWnd, GetRootView()); DCHECK(focus_manager); focus_manager->AddKeystrokeListener(this); tab_contents_ = TabContents::CreateWithType(TAB_CONTENTS_WEB, @@ -93,8 +93,8 @@ bool ExternalTabContainer::Init(Profile* profile) { } void ExternalTabContainer::OnDestroy() { - ChromeViews::FocusManager * focus_manager = - ChromeViews::FocusManager::GetFocusManager(GetHWND()); + views::FocusManager * focus_manager = + views::FocusManager::GetFocusManager(GetHWND()); if (focus_manager) { focus_manager->RemoveKeystrokeListener(this); } @@ -259,8 +259,8 @@ void ExternalTabContainer::PaintNow(const CRect& update_rect) { RDW_INVALIDATE | RDW_ALLCHILDREN | RDW_NOERASE); } -ChromeViews::RootView* ExternalTabContainer::GetRootView() { - return const_cast<ChromeViews::RootView*>(&root_view_); +views::RootView* ExternalTabContainer::GetRootView() { + return const_cast<views::RootView*>(&root_view_); } bool ExternalTabContainer::IsVisible() { |