OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ |
6 #define CHROME_BROWSER_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ | 6 #define CHROME_BROWSER_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" | 11 #include "app/gtk_signal.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "chrome/browser/gtk/info_bubble_gtk.h" | 13 #include "chrome/browser/gtk/info_bubble_gtk.h" |
14 #include "chrome/common/content_settings_types.h" | 14 #include "chrome/common/content_settings_types.h" |
| 15 #include "chrome/common/notification_observer.h" |
15 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
16 | 17 |
17 class ContentSettingBubbleModel; | 18 class ContentSettingBubbleModel; |
18 class Profile; | 19 class Profile; |
19 class TabContents; | 20 class TabContents; |
20 | 21 |
21 // ContentSettingBubbleGtk is used when the user turns on different kinds of | 22 // ContentSettingBubbleGtk is used when the user turns on different kinds of |
22 // 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, |
23 // 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 |
24 // type of content being blocked. | 25 // type of content being blocked. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 PopupMap popup_links_; | 87 PopupMap popup_links_; |
87 PopupMap popup_icons_; | 88 PopupMap popup_icons_; |
88 | 89 |
89 typedef std::vector<GtkWidget*> RadioGroupGtk; | 90 typedef std::vector<GtkWidget*> RadioGroupGtk; |
90 RadioGroupGtk radio_group_gtk_; | 91 RadioGroupGtk radio_group_gtk_; |
91 | 92 |
92 GtkWidget* load_plugins_link_; | 93 GtkWidget* load_plugins_link_; |
93 }; | 94 }; |
94 | 95 |
95 #endif // CHROME_BROWSER_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ | 96 #endif // CHROME_BROWSER_GTK_CONTENT_SETTING_BUBBLE_GTK_H_ |
OLD | NEW |