| Index: chrome/browser/ui/browser_show_actions.h
|
| diff --git a/chrome/browser/ui/browser_show_actions.h b/chrome/browser/ui/browser_show_actions.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..103cc2786b31028677b9160fe0ab23b88f3bdb7e
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/browser_show_actions.h
|
| @@ -0,0 +1,50 @@
|
| +// 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_BROWSER_SHOW_ACTIONS_H_
|
| +#define CHROME_BROWSER_UI_BROWSER_SHOW_ACTIONS_H_
|
| +#pragma once
|
| +
|
| +#include "chrome/common/content_settings_types.h"
|
| +
|
| +class Browser;
|
| +class GURL;
|
| +class TabContentsWrapper;
|
| +
|
| +namespace content {
|
| +class WebContents;
|
| +struct SSLStatus;
|
| +}
|
| +
|
| +namespace views {
|
| +class BubbleDelegateView;
|
| +class Widget;
|
| +}
|
| +
|
| +// Interface for showing content related pages/dialogs.
|
| +class BrowserShowContentRelated {
|
| + 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;
|
| +};
|
| +
|
| +// Interface for showing page info.
|
| +class BrowserShowPageInfo {
|
| + public:
|
| + virtual void ShowPageInfo(content::WebContents* web_contents,
|
| + const GURL& url,
|
| + const content::SSLStatus& ssl,
|
| + bool show_history) = 0;
|
| +};
|
| +
|
| +// Meta interface which consists of the different page and dialogs showing
|
| +// action which are supported by Browser.
|
| +class BrowserShowActions : public BrowserShowContentRelated,
|
| + public BrowserShowPageInfo {
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_BROWSER_SHOW_ACTIONS_H_
|
|
|