summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/info_bubble_gtk.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 16:54:46 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 16:54:46 +0000
commit5e56a3a8e84ee5b4417077f5f3ec17b7dbe73bd1 (patch)
treeba6052962bcb4cd3eb60f7308ef19db86fff9e7d /chrome/browser/gtk/info_bubble_gtk.h
parent6d39d49d2001775bf486299261613298e1aab12a (diff)
downloadchromium_src-5e56a3a8e84ee5b4417077f5f3ec17b7dbe73bd1.zip
chromium_src-5e56a3a8e84ee5b4417077f5f3ec17b7dbe73bd1.tar.gz
chromium_src-5e56a3a8e84ee5b4417077f5f3ec17b7dbe73bd1.tar.bz2
GTK Themes: Theme the bookmark bubble. (And first run bubble).
http://crbug.com/16783 Review URL: http://codereview.chromium.org/160025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21535 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, 6 insertions, 1 deletions
diff --git a/chrome/browser/gtk/info_bubble_gtk.h b/chrome/browser/gtk/info_bubble_gtk.h
index 2707187..7bc45b9 100644
--- a/chrome/browser/gtk/info_bubble_gtk.h
+++ b/chrome/browser/gtk/info_bubble_gtk.h
@@ -18,6 +18,7 @@
#include "base/basictypes.h"
#include "chrome/common/notification_registrar.h"
+class GtkThemeProvider;
class InfoBubbleGtk;
namespace gfx {
class Rect;
@@ -43,6 +44,7 @@ class InfoBubbleGtk : public NotificationObserver {
static InfoBubbleGtk* Show(GtkWindow* transient_toplevel,
const gfx::Rect& rect,
GtkWidget* content,
+ GtkThemeProvider* provider,
InfoBubbleGtkDelegate* delegate);
// Close the bubble if it's open. This will delete the widgets and object,
@@ -60,7 +62,7 @@ class InfoBubbleGtk : public NotificationObserver {
static GtkWindow* GetToplevelForInfoBubble(const GdkWindow* bubble_window);
private:
- InfoBubbleGtk();
+ explicit InfoBubbleGtk(GtkThemeProvider* provider);
virtual ~InfoBubbleGtk();
// Creates the InfoBubble.
@@ -121,6 +123,9 @@ class InfoBubbleGtk : public NotificationObserver {
// it deletes us when it is destroyed.
GtkWidget* window_;
+ // Provides colors and stuff.
+ GtkThemeProvider* theme_provider_;
+
// The accel group attached to |window_|, to handle closing with escape.
GtkAccelGroup* accel_group_;