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_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
6 #define CHROME_BROWSER_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 6 #define CHROME_BROWSER_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "chrome/common/content_settings_types.h" | 11 #include "chrome/common/content_settings_types.h" |
| 12 #include "chrome/common/notification_observer.h" |
12 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
13 #include "views/controls/button/button.h" | 14 #include "views/controls/button/button.h" |
14 #include "views/controls/link.h" | 15 #include "views/controls/link.h" |
15 | 16 |
16 // ContentSettingBubbleContents is used when the user turns on different kinds | 17 // ContentSettingBubbleContents is used when the user turns on different kinds |
17 // of content blocking (e.g. "block images"). When viewing a page with blocked | 18 // of content blocking (e.g. "block images"). When viewing a page with blocked |
18 // content, icons appear in the omnibox corresponding to the content types that | 19 // content, icons appear in the omnibox corresponding to the content types that |
19 // were blocked, and the user can click one to get a bubble hosting a few | 20 // were blocked, and the user can click one to get a bubble hosting a few |
20 // controls. This class provides the content of that bubble. In general, | 21 // controls. This class provides the content of that bubble. In general, |
21 // these bubbles typically have a title, a pair of radio buttons for toggling | 22 // these bubbles typically have a title, a pair of radio buttons for toggling |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 views::NativeButton* close_button_; | 93 views::NativeButton* close_button_; |
93 views::Link* manage_link_; | 94 views::Link* manage_link_; |
94 views::Link* clear_link_; | 95 views::Link* clear_link_; |
95 views::Link* info_link_; | 96 views::Link* info_link_; |
96 views::Link* load_plugins_link_; | 97 views::Link* load_plugins_link_; |
97 | 98 |
98 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); | 99 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); |
99 }; | 100 }; |
100 | 101 |
101 #endif // CHROME_BROWSER_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 102 #endif // CHROME_BROWSER_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
OLD | NEW |