| Index: chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h
|
| diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h b/chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b1bb9565ee2f8ba1c776dc4dde8ff5df2b4f984e
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
|
| +#define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
|
| +#pragma once
|
| +
|
| +#include "chrome/common/content_settings_types.h"
|
| +
|
| +class TabContentsWrapper;
|
| +
|
| +// Delegate which is used by ContentSettingBubbleModel class.
|
| +class ContentSettingBubbleModelDelegate {
|
| + public:
|
| + // Shows the cookies collected in the tab contents wrapper.
|
| + virtual void ShowCollectedCookiesDialog(TabContentsWrapper* contents) = 0;
|
| +
|
| + // Shows the Content Settings page for a given content type.
|
| + virtual void ShowContentSettingsPage(ContentSettingsType type) = 0;
|
| +
|
| + protected:
|
| + virtual ~ContentSettingBubbleModelDelegate() {}
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
|
|
|