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