| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // Builds the bubble and all the widgets that it displays. | 81 // Builds the bubble and all the widgets that it displays. |
| 82 void BuildBubble(); | 82 void BuildBubble(); |
| 83 | 83 |
| 84 // Widget callback methods. | 84 // Widget callback methods. |
| 85 CHROMEGTK_CALLBACK_1(ContentSettingBubbleGtk, void, OnPopupIconButtonPress, | 85 CHROMEGTK_CALLBACK_1(ContentSettingBubbleGtk, void, OnPopupIconButtonPress, |
| 86 GdkEventButton*); | 86 GdkEventButton*); |
| 87 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnPopupLinkClicked); | 87 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnPopupLinkClicked); |
| 88 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnRadioToggled); | 88 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnRadioToggled); |
| 89 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCustomLinkClicked); | 89 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCustomLinkClicked); |
| 90 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnManageLinkClicked); | 90 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnManageLinkClicked); |
| 91 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnSaveButtonClicked); |
| 92 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCancelButtonClicked); |
| 91 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCloseButtonClicked); | 93 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnCloseButtonClicked); |
| 92 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnMenuButtonClicked); | 94 CHROMEGTK_CALLBACK_0(ContentSettingBubbleGtk, void, OnMenuButtonClicked); |
| 93 | 95 |
| 94 // We position the bubble near this widget. | 96 // We position the bubble near this widget. |
| 95 GtkWidget* anchor_; | 97 GtkWidget* anchor_; |
| 96 | 98 |
| 97 // The active profile. | 99 // The active profile. |
| 98 Profile* profile_; | 100 Profile* profile_; |
| 99 | 101 |
| 100 // The active web contents. | 102 // The active web contents. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 116 PopupMap popup_links_; | 118 PopupMap popup_links_; |
| 117 PopupMap popup_icons_; | 119 PopupMap popup_icons_; |
| 118 | 120 |
| 119 typedef std::vector<GtkWidget*> RadioGroupGtk; | 121 typedef std::vector<GtkWidget*> RadioGroupGtk; |
| 120 RadioGroupGtk radio_group_gtk_; | 122 RadioGroupGtk radio_group_gtk_; |
| 121 | 123 |
| 122 GtkMediaMenuMap media_menus_; | 124 GtkMediaMenuMap media_menus_; |
| 123 }; | 125 }; |
| 124 | 126 |
| 125 #endif // CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ | 127 #endif // CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ |
| OLD | NEW |