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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "app/gtk_signal.h" | |
12 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
13 #include "chrome/browser/ui/gtk/info_bubble_gtk.h" | 12 #include "chrome/browser/ui/gtk/info_bubble_gtk.h" |
14 #include "chrome/common/content_settings_types.h" | 13 #include "chrome/common/content_settings_types.h" |
15 #include "chrome/common/notification_observer.h" | 14 #include "chrome/common/notification_observer.h" |
16 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
| 16 #include "ui/base/gtk/gtk_signal.h" |
17 | 17 |
18 class ContentSettingBubbleModel; | 18 class ContentSettingBubbleModel; |
19 class Profile; | 19 class Profile; |
20 class TabContents; | 20 class TabContents; |
21 | 21 |
22 // ContentSettingBubbleGtk is used when the user turns on different kinds of | 22 // ContentSettingBubbleGtk is used when the user turns on different kinds of |
23 // content blocking (e.g. "block images"). An icon appears in the location bar, | 23 // content blocking (e.g. "block images"). An icon appears in the location bar, |
24 // and when clicked, an instance of this class is created specialized for the | 24 // and when clicked, an instance of this class is created specialized for the |
25 // type of content being blocked. | 25 // type of content being blocked. |
26 class ContentSettingBubbleGtk : public InfoBubbleGtkDelegate, | 26 class ContentSettingBubbleGtk : public InfoBubbleGtkDelegate, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 // Stored controls so we can figure out what was clicked. | 84 // Stored controls so we can figure out what was clicked. |
85 PopupMap popup_links_; | 85 PopupMap popup_links_; |
86 PopupMap popup_icons_; | 86 PopupMap popup_icons_; |
87 | 87 |
88 typedef std::vector<GtkWidget*> RadioGroupGtk; | 88 typedef std::vector<GtkWidget*> RadioGroupGtk; |
89 RadioGroupGtk radio_group_gtk_; | 89 RadioGroupGtk radio_group_gtk_; |
90 }; | 90 }; |
91 | 91 |
92 #endif // CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ | 92 #endif // CHROME_BROWSER_UI_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ |
OLD | NEW |