Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3724)

Unified Diff: chrome/browser/ui/views/first_run_bubble.h

Issue 8265005: first run bubble using the views/bubble api. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698