diff options
Diffstat (limited to 'chrome/browser/gtk/content_setting_bubble_gtk.h')
-rw-r--r-- | chrome/browser/gtk/content_setting_bubble_gtk.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/chrome/browser/gtk/content_setting_bubble_gtk.h b/chrome/browser/gtk/content_setting_bubble_gtk.h index a09acab..e0e9921 100644 --- a/chrome/browser/gtk/content_setting_bubble_gtk.h +++ b/chrome/browser/gtk/content_setting_bubble_gtk.h @@ -8,6 +8,7 @@ #include <map> #include <string> +#include "app/gtk_signal.h" #include "base/scoped_ptr.h" #include "chrome/browser/gtk/info_bubble_gtk.h" #include "chrome/common/content_settings_types.h" @@ -50,19 +51,13 @@ class ContentSettingBubbleGtk : public InfoBubbleGtkDelegate, void BuildBubble(); // Widget callback methods. - static void OnPopupIconButtonPress(GtkWidget* icon, - GdkEventButton* event, - ContentSettingBubbleGtk* bubble); - static void OnPopupLinkClicked(GtkWidget* button, - ContentSettingBubbleGtk* bubble); - static void OnRadioToggled(GtkWidget* widget, - ContentSettingBubbleGtk* bubble); - static void OnCloseButtonClicked(GtkButton *button, - ContentSettingBubbleGtk* bubble); - static void OnManageLinkClicked(GtkButton* button, - ContentSettingBubbleGtk* bubble); - static void OnClearLinkClicked(GtkButton* button, - ContentSettingBubbleGtk* bubble); + CHROMEGTK_CALLBACK_1(ContentSettingBubbleGtk, void, OnPopupIconButtonPress, + GdkEventButton*); + CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnPopupLinkClicked); + CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnRadioToggled); + CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCloseButtonClicked); + CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnManageLinkClicked); + CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnClearLinkClicked); // We position the bubble near this widget. GtkWidget* anchor_; |