diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 15:17:08 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 15:17:08 +0000 |
commit | a3c0ff2f030aeae7693cf9face34eb2b6ded4308 (patch) | |
tree | 9af339d5dec3a7d46045b99cd525bea19bd82e26 /chrome/browser/views/first_run_bubble.cc | |
parent | 4c53eba29fc1af82454136df4522cfd3eab40d4a (diff) | |
download | chromium_src-a3c0ff2f030aeae7693cf9face34eb2b6ded4308.zip chromium_src-a3c0ff2f030aeae7693cf9face34eb2b6ded4308.tar.gz chromium_src-a3c0ff2f030aeae7693cf9face34eb2b6ded4308.tar.bz2 |
Gets info_bubble compiling on linux. This code has a ton of ifdefs. It
would be cleaner to refactor. I'll do that later on though. I've added
a TODO to that effect.
Review URL: http://codereview.chromium.org/113679
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16602 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/first_run_bubble.cc')
-rw-r--r-- | chrome/browser/views/first_run_bubble.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/first_run_bubble.cc b/chrome/browser/views/first_run_bubble.cc index 38dffbf..7dedfd3 100644 --- a/chrome/browser/views/first_run_bubble.cc +++ b/chrome/browser/views/first_run_bubble.cc @@ -347,7 +347,7 @@ void FirstRunBubble::InfoBubbleClosing(InfoBubble* info_bubble, } // static -FirstRunBubble* FirstRunBubble::Show(Profile* profile, HWND parent_hwnd, +FirstRunBubble* FirstRunBubble::Show(Profile* profile, views::Window* parent, const gfx::Rect& position_relative_to, bool use_OEM_bubble) { FirstRunBubble* window = new FirstRunBubble(); @@ -358,7 +358,7 @@ FirstRunBubble* FirstRunBubble::Show(Profile* profile, HWND parent_hwnd, view = new FirstRunBubbleView(window, profile); window->SetDelegate(window); window->set_view(view); - window->Init(parent_hwnd, position_relative_to, view); + window->Init(parent, position_relative_to, view); window->ShowWindow(SW_SHOW); views::FocusManager* focus_manager = views::FocusManager::GetFocusManager(window->GetNativeView()); |