Index: chrome/browser/gtk/status_bubble_gtk.h |
diff --git a/chrome/browser/gtk/status_bubble_gtk.h b/chrome/browser/gtk/status_bubble_gtk.h |
index 006efd0881c09b03ba4d60454bb450e23d9e1193..5359dec927b1f308f97b458cd27b563f50fb565f 100644 |
--- a/chrome/browser/gtk/status_bubble_gtk.h |
+++ b/chrome/browser/gtk/status_bubble_gtk.h |
@@ -14,7 +14,9 @@ |
#include "chrome/browser/status_bubble.h" |
#include "chrome/common/owned_widget_gtk.h" |
+class GtkThemeProperties; |
class GURL; |
+class Profile; |
// GTK implementation of StatusBubble. Unlike Windows, our status bubble |
// doesn't have the nice leave-the-window effect since we can't rely on the |
@@ -22,7 +24,7 @@ class GURL; |
// We therefore position it absolutely in a GtkFixed, that we don't own. |
class StatusBubbleGtk : public StatusBubble { |
public: |
- StatusBubbleGtk(); |
+ StatusBubbleGtk(Profile* profile); |
virtual ~StatusBubbleGtk(); |
// StatusBubble implementation. |
@@ -41,6 +43,9 @@ class StatusBubbleGtk : public StatusBubble { |
// identification. |
GtkWidget* widget() { return container_.get(); } |
+ // Notification from the window that we should retheme ourself. |
+ void UserChangedTheme(GtkThemeProperties* properties); |
+ |
private: |
// Sets the text of the label widget and controls visibility. (As contrasted |
// with setting the current status or URL text, which may be ignored for now). |
@@ -62,6 +67,10 @@ class StatusBubbleGtk : public StatusBubble { |
// The GtkLabel holding the text. |
GtkWidget* label_; |
+ // The background event box. We keep this so we can change it's background |
Evan Martin
2009/07/07 17:35:25
s/it's/its/
|
+ // color. |
+ GtkWidget* bg_box_; |
+ |
// The status text we want to display when there are no URLs to display. |
std::string status_text_; |