| Index: chrome/browser/gtk/info_bubble_gtk.h
|
| diff --git a/chrome/browser/gtk/info_bubble_gtk.h b/chrome/browser/gtk/info_bubble_gtk.h
|
| index 270718740d8bca1315c9bdb070176051acb788d1..7bc45b9e6153fa2cc6ff8276895ae93b9d94a33e 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_;
|
|
|
|
|