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

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

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/ssl/security_state_model.h"
11 #include "chrome/browser/ui/bookmarks/bookmark_editor.h" 10 #include "chrome/browser/ui/bookmarks/bookmark_editor.h"
11 #include "components/security_state/security_state_model.h"
12 #include "third_party/skia/include/core/SkColor.h" 12 #include "third_party/skia/include/core/SkColor.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 14
15 class Browser; 15 class Browser;
16 class GURL; 16 class GURL;
17 class LoginHandler; 17 class LoginHandler;
18 class Profile; 18 class Profile;
19 19
20 namespace bookmarks { 20 namespace bookmarks {
21 class BookmarkBubbleObserver; 21 class BookmarkBubbleObserver;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // For Mac, returns true if Chrome should show an equivalent toolkit-views based 83 // For Mac, returns true if Chrome should show an equivalent toolkit-views based
84 // dialog using one of the functions below, rather than showing a Cocoa dialog. 84 // dialog using one of the functions below, rather than showing a Cocoa dialog.
85 bool ToolkitViewsDialogsEnabled(); 85 bool ToolkitViewsDialogsEnabled();
86 86
87 // Shows a Views website settings bubble at the given anchor point. 87 // Shows a Views website settings bubble at the given anchor point.
88 void ShowWebsiteSettingsBubbleViewsAtPoint( 88 void ShowWebsiteSettingsBubbleViewsAtPoint(
89 const gfx::Point& anchor_point, 89 const gfx::Point& anchor_point,
90 Profile* profile, 90 Profile* profile,
91 content::WebContents* web_contents, 91 content::WebContents* web_contents,
92 const GURL& url, 92 const GURL& url,
93 const SecurityStateModel::SecurityInfo& security_info); 93 const security_state::SecurityStateModel::SecurityInfo& security_info);
94 94
95 // Show a Views bookmark bubble at the given point. This occurs when the 95 // Show a Views bookmark bubble at the given point. This occurs when the
96 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu 96 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu
97 // or via a key equivalent. 97 // or via a key equivalent.
98 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, 98 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point,
99 gfx::NativeView parent, 99 gfx::NativeView parent,
100 bookmarks::BookmarkBubbleObserver* observer, 100 bookmarks::BookmarkBubbleObserver* observer,
101 Browser* browser, 101 Browser* browser,
102 const GURL& url, 102 const GURL& url,
103 bool newly_bookmarked); 103 bool newly_bookmarked);
(...skipping 10 matching lines...) Expand all
114 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, 114 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window,
115 Profile* profile, 115 Profile* profile,
116 const BookmarkEditor::EditDetails& details, 116 const BookmarkEditor::EditDetails& details,
117 BookmarkEditor::Configuration configuration); 117 BookmarkEditor::Configuration configuration);
118 118
119 #endif // TOOLKIT_VIEWS 119 #endif // TOOLKIT_VIEWS
120 120
121 } // namespace chrome 121 } // namespace chrome
122 122
123 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 123 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698