OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE
_H_ | |
6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE
_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/common/content_settings_types.h" | |
10 | |
11 class TabContentsWrapper; | |
12 | |
13 // Delegate which is used by ContentSettingBubbleModel class. | |
14 class ContentSettingBubbleModelDelegate { | |
15 public: | |
16 // Shows the cookies collected in the tab contents wrapper. | |
17 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* contents) = 0; | |
18 | |
19 // Shows the Content Settings page for a given content type. | |
20 virtual void ShowContentSettingsPage(ContentSettingsType type) = 0; | |
21 | |
22 protected: | |
23 virtual ~ContentSettingBubbleModelDelegate() {} | |
24 }; | |
25 | |
26 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEG
ATE_H_ | |
OLD | NEW |