From a3c0ff2f030aeae7693cf9face34eb2b6ded4308 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 21 May 2009 15:17:08 +0000 Subject: 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 --- chrome/browser/views/first_run_bubble.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/browser/views/first_run_bubble.h') diff --git a/chrome/browser/views/first_run_bubble.h b/chrome/browser/views/first_run_bubble.h index 598362b..8da8d04 100644 --- a/chrome/browser/views/first_run_bubble.h +++ b/chrome/browser/views/first_run_bubble.h @@ -14,7 +14,7 @@ class Profile; class FirstRunBubble : public InfoBubble, public InfoBubbleDelegate { public: - static FirstRunBubble* Show(Profile* profile, HWND parent_hwnd, + static FirstRunBubble* Show(Profile* profile, views::Window* window, const gfx::Rect& position_relative_to, bool use_OEM_bubble); @@ -32,8 +32,10 @@ class FirstRunBubble : public InfoBubble, void set_view(FirstRunBubbleViewBase* view) { view_ = view; } +#if defined(OS_WIN) // Overridden from InfoBubble: virtual void OnActivate(UINT action, BOOL minimized, HWND window); +#endif // InfoBubbleDelegate. virtual void InfoBubbleClosing(InfoBubble* info_bubble, -- cgit v1.1