diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 14:51:36 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 14:51:36 +0000 |
commit | 6c8c80e7b1b85f30ad4c6626a9ec3f31818086da (patch) | |
tree | a066456b010b480d579b214ecffee48b3cb75057 /chrome/browser/views/info_bubble.cc | |
parent | 3c4beb226d1f279685d82861a062b599401cd2a9 (diff) | |
download | chromium_src-6c8c80e7b1b85f30ad4c6626a9ec3f31818086da.zip chromium_src-6c8c80e7b1b85f30ad4c6626a9ec3f31818086da.tar.gz chromium_src-6c8c80e7b1b85f30ad4c6626a9ec3f31818086da.tar.bz2 |
Factor out a BrowserFrame interface, and move the existing Windows-based code
to a new class: BrowserFrameWin.
The major other change I had to make was the way that the TabStrip is set in
the BrowserRootView. Now there is a method on the frame that the view can
call when it creats the tabstrip that will set the tabstrip on the root view.
Review URL: http://codereview.chromium.org/113511
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/info_bubble.cc')
-rw-r--r-- | chrome/browser/views/info_bubble.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/info_bubble.cc b/chrome/browser/views/info_bubble.cc index 9447285..6fdda8e 100644 --- a/chrome/browser/views/info_bubble.cc +++ b/chrome/browser/views/info_bubble.cc @@ -98,7 +98,7 @@ void InfoBubble::Init(HWND parent_hwnd, BrowserView* browser_view = BrowserView::GetBrowserViewForHWND(owning_frame_hwnd); DCHECK(browser_view); - parent_ = browser_view->frame(); + parent_ = browser_view->frame()->GetWindow(); parent_->DisableInactiveRendering(); if (kInfoBubbleCornerTopLeft == NULL) { |