Index: chrome/browser/ui/views/first_run_bubble.h |
diff --git a/chrome/browser/ui/views/first_run_bubble.h b/chrome/browser/ui/views/first_run_bubble.h |
index 9727eda3d7d2f7f335503eb10f5bde385e0c79d1..aa263212e8765f982b5fa87f5b046ce27ce8be61 100644 |
--- a/chrome/browser/ui/views/first_run_bubble.h |
+++ b/chrome/browser/ui/views/first_run_bubble.h |
@@ -11,17 +11,31 @@ |
#include "chrome/browser/first_run/first_run.h" |
#include "chrome/browser/ui/views/bubble/bubble.h" |
+#if defined(USE_AURA) |
+namespace views { |
+class View; |
+} |
+#endif |
+ |
class FirstRunBubbleViewBase; |
class Profile; |
class FirstRunBubble : public Bubble, |
public BubbleDelegate { |
public: |
+#if defined(USE_AURA) |
+ static views::View* Show( |
+ Profile* profile, views::Widget* parent, |
+ const gfx::Rect& position_relative_to, |
+ views::BubbleBorder::ArrowLocation arrow_location, |
+ FirstRun::BubbleType bubble_type); |
+#else |
static FirstRunBubble* Show( |
Profile* profile, views::Widget* parent, |
const gfx::Rect& position_relative_to, |
views::BubbleBorder::ArrowLocation arrow_location, |
FirstRun::BubbleType bubble_type); |
+#endif |
private: |
FirstRunBubble(); |
@@ -29,8 +43,10 @@ class FirstRunBubble : public Bubble, |
void set_view(FirstRunBubbleViewBase* view) { view_ = view; } |
+#if !defined(USE_AURA) |
// Re-enable the parent window. |
void EnableParent(); |
+#endif |
#if defined(OS_WIN) && !defined(USE_AURA) |
// Overridden from Bubble: |