Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/browser/ui/browser_show_actions.h

Issue 9479008: Re-factor location bar/toolbar code to get rid of the browser dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_BROWSER_SHOW_ACTIONS_H_
6 #define CHROME_BROWSER_UI_BROWSER_SHOW_ACTIONS_H_
7 #pragma once
8
9 #include "chrome/common/content_settings_types.h"
10
11 class Browser;
12 class GURL;
13 class TabContentsWrapper;
14
15 namespace content {
16 class WebContents;
17 struct SSLStatus;
18 }
19
20 namespace views {
21 class BubbleDelegateView;
22 class Widget;
23 }
24
25 // Interface for showing content related pages/dialogs.
26 class BrowserShowContentRelated {
27 public:
28 // Shows the cookies collected in the tab contents wrapper.
29 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* contents) = 0;
30
31 // Shows the Content Settings page for a given content type.
32 virtual void ShowContentSettingsPage(ContentSettingsType type) = 0;
33 };
34
35 // Interface for showing page info.
36 class BrowserShowPageInfo {
37 public:
38 virtual void ShowPageInfo(content::WebContents* web_contents,
39 const GURL& url,
40 const content::SSLStatus& ssl,
41 bool show_history) = 0;
42 };
43
44 // Meta interface which consists of the different page and dialogs showing
45 // action which are supported by Browser.
46 class BrowserShowActions : public BrowserShowContentRelated,
47 public BrowserShowPageInfo {
48 };
49
50 #endif // CHROME_BROWSER_UI_BROWSER_SHOW_ACTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698