Index: chrome/browser/gtk/fullscreen_exit_bubble_gtk.h |
diff --git a/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h b/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h |
index 44b3ac0bd3d3c6b7ab628a634c2555adc9e34e2b..0b9c90e4aa1f8a7b112ca30f6b9e967f2d6c96b6 100644 |
--- a/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h |
+++ b/chrome/browser/gtk/fullscreen_exit_bubble_gtk.h |
@@ -7,6 +7,7 @@ |
#include <gtk/gtk.h> |
+#include "app/gtk_signal.h" |
#include "base/timer.h" |
#include "chrome/browser/gtk/slide_animator_gtk.h" |
@@ -30,12 +31,9 @@ class FullscreenExitBubbleGtk { |
// Hide the exit bubble. |
void Hide(); |
- static void OnSetFloatingPosition(GtkFloatingContainer* floating_container, |
- GtkAllocation* allocation, |
- FullscreenExitBubbleGtk* bubble); |
- |
- static void OnLinkClicked(GtkWidget* link, |
- FullscreenExitBubbleGtk* bubble); |
+ CHROMEGTK_CALLBACK_1(FullscreenExitBubbleGtk, void, OnSetFloatingPosition, |
+ GtkAllocation*); |
+ CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnLinkClicked); |
// A pointer to the floating container that is our parent. |
GtkFloatingContainer* container_; |
@@ -45,6 +43,8 @@ class FullscreenExitBubbleGtk { |
// The timer that does the initial hiding of the exit bubble. |
base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; |
+ |
+ GtkSignalRegistrar signals_; |
}; |
#endif // CHROME_BROWSER_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ |