summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/first_run_bubble.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/first_run_bubble.h')
-rw-r--r--chrome/browser/gtk/first_run_bubble.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/gtk/first_run_bubble.h b/chrome/browser/gtk/first_run_bubble.h
index b52dc98..efc9924 100644
--- a/chrome/browser/gtk/first_run_bubble.h
+++ b/chrome/browser/gtk/first_run_bubble.h
@@ -24,7 +24,7 @@ class FirstRunBubble : public InfoBubbleGtkDelegate,
public:
// Shows the first run bubble, pointing at |rect|.
static void Show(Profile* profile,
- GtkWindow* parent,
+ GtkWidget* anchor,
const gfx::Rect& rect,
bool use_OEM_bubble);
@@ -41,7 +41,7 @@ class FirstRunBubble : public InfoBubbleGtkDelegate,
private:
FirstRunBubble(Profile* profile,
- GtkWindow* parent,
+ GtkWidget* anchor,
const gfx::Rect& rect);
~FirstRunBubble() { }
@@ -66,8 +66,9 @@ class FirstRunBubble : public InfoBubbleGtkDelegate,
// Provides colors and stuff.
GtkThemeProvider* theme_provider_;
- // The toplevel window our dialogs should be transient for.
- GtkWindow* parent_;
+ // The widget we anchor to, and a descendant of the toplevel window we
+ // are transient for.
+ GtkWidget* anchor_;
// We let the InfoBubble own our content, and then we delete ourself
// when the widget is destroyed (when the InfoBubble is destroyed).