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