OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ |
6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ | 6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 14 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
15 #include "chrome/common/content_settings.h" | |
16 #include "chrome/common/custom_handlers/protocol_handler.h" | 15 #include "chrome/common/custom_handlers/protocol_handler.h" |
| 16 #include "components/content_settings/core/common/content_settings.h" |
17 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
19 #include "content/public/common/media_stream_request.h" | 19 #include "content/public/common/media_stream_request.h" |
20 #include "ui/gfx/image/image.h" | 20 #include "ui/gfx/image/image.h" |
21 #include "url/gurl.h" | 21 #include "url/gurl.h" |
22 | 22 |
23 class ContentSettingBubbleModelDelegate; | 23 class ContentSettingBubbleModelDelegate; |
24 class Profile; | 24 class Profile; |
25 class ProtocolHandlerRegistry; | 25 class ProtocolHandlerRegistry; |
26 | 26 |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 void IgnoreProtocolHandler(); | 228 void IgnoreProtocolHandler(); |
229 void ClearOrSetPreviousHandler(); | 229 void ClearOrSetPreviousHandler(); |
230 | 230 |
231 int selected_item_; | 231 int selected_item_; |
232 ProtocolHandlerRegistry* registry_; | 232 ProtocolHandlerRegistry* registry_; |
233 ProtocolHandler pending_handler_; | 233 ProtocolHandler pending_handler_; |
234 ProtocolHandler previous_handler_; | 234 ProtocolHandler previous_handler_; |
235 }; | 235 }; |
236 | 236 |
237 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ | 237 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ |
OLD | NEW |