From 4d0bd1045bc0df8daea2a5626e73906cb074631b Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Thu, 16 Oct 2008 00:26:30 +0000 Subject: 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 --- chrome/views/native_scroll_bar.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chrome/views/native_scroll_bar.cc') diff --git a/chrome/views/native_scroll_bar.cc b/chrome/views/native_scroll_bar.cc index 6058646..53c5189 100644 --- a/chrome/views/native_scroll_bar.cc +++ b/chrome/views/native_scroll_bar.cc @@ -11,8 +11,8 @@ #include #include "base/message_loop.h" +#include "chrome/views/container.h" #include "chrome/views/hwnd_view.h" -#include "chrome/views/view_container.h" namespace ChromeViews { @@ -30,7 +30,7 @@ class ScrollBarContainer : public CWindowImplGetViewContainer()->GetHWND()); + Create(parent->GetContainer()->GetHWND()); ::ShowWindow(m_hWnd, SW_SHOW); } @@ -126,7 +126,7 @@ class ScrollBarContainer : public CWindowImplGetViewContainer(); + Container* vc = parent_->GetContainer(); if (vc && vc->GetHWND() != GetFocus()) { parent_->RequestFocus(); } @@ -227,8 +227,8 @@ NativeScrollBar::~NativeScrollBar() { void NativeScrollBar::ViewHierarchyChanged(bool is_add, View *parent, View *child) { - ViewContainer* vc; - if (is_add && (vc = GetViewContainer()) && !sb_view_) { + Container* vc; + if (is_add && (vc = GetContainer()) && !sb_view_) { sb_view_ = new HWNDView(); AddChildView(sb_view_); sb_container_ = new ScrollBarContainer(this); -- cgit v1.1