summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/info_bubble_gtk.h
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 10:00:57 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 10:00:57 +0000
commitce29eeeb501db818f8f91158fd0f740a9673db61 (patch)
tree482be176eebfa02b76b775efc7122a4785fadac4 /chrome/browser/gtk/info_bubble_gtk.h
parente918f175a6293932fc4c682108cf3c9945671f60 (diff)
downloadchromium_src-ce29eeeb501db818f8f91158fd0f740a9673db61.zip
chromium_src-ce29eeeb501db818f8f91158fd0f740a9673db61.tar.gz
chromium_src-ce29eeeb501db818f8f91158fd0f740a9673db61.tar.bz2
Implement the base for the BookmarkBubble UI.
Additionally set the transient on the InfoBubble dialog window. BUG=11738 Review URL: http://codereview.chromium.org/119042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/info_bubble_gtk.h')
-rw-r--r--chrome/browser/gtk/info_bubble_gtk.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/gtk/info_bubble_gtk.h b/chrome/browser/gtk/info_bubble_gtk.h
index e88946c..0ea6c05 100644
--- a/chrome/browser/gtk/info_bubble_gtk.h
+++ b/chrome/browser/gtk/info_bubble_gtk.h
@@ -39,7 +39,8 @@ class InfoBubbleGtk {
// An infobubble will try to fit on the screen, so it can point to any edge
// of |rect|. The bubble will host the |content| widget. The |delegate|
// will be notified when things like closing are happening.
- static InfoBubbleGtk* Show(const gfx::Rect& rect,
+ static InfoBubbleGtk* Show(GtkWindow* transient_toplevel,
+ const gfx::Rect& rect,
GtkWidget* content,
InfoBubbleGtkDelegate* delegate);
@@ -52,7 +53,9 @@ class InfoBubbleGtk {
virtual ~InfoBubbleGtk();
// Creates the InfoBubble.
- void Init(const gfx::Rect& rect, GtkWidget* content);
+ void Init(GtkWindow* transient_toplevel,
+ const gfx::Rect& rect,
+ GtkWidget* content);
// Sets the delegate.
void set_delegate(InfoBubbleGtkDelegate* delegate) { delegate_ = delegate; }