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

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: unit test debugging Created 4 years, 12 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
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 "chrome/browser/ssl/security_state_model.h"
10 #include "chrome/browser/ui/bookmarks/bookmark_editor.h" 9 #include "chrome/browser/ui/bookmarks/bookmark_editor.h"
10 #include "components/security_state/security_state_model.h"
11 #include "third_party/skia/include/core/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
12 #include "ui/gfx/native_widget_types.h" 12 #include "ui/gfx/native_widget_types.h"
13 13
14 class Browser; 14 class Browser;
15 class GURL; 15 class GURL;
16 class LoginHandler; 16 class LoginHandler;
17 class Profile; 17 class Profile;
18 18
19 namespace bookmarks { 19 namespace bookmarks {
20 class BookmarkBubbleObserver; 20 class BookmarkBubbleObserver;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // For Mac, returns true if Chrome should show an equivalent toolkit-views based 82 // For Mac, returns true if Chrome should show an equivalent toolkit-views based
83 // dialog using one of the functions below, rather than showing a Cocoa dialog. 83 // dialog using one of the functions below, rather than showing a Cocoa dialog.
84 bool ToolkitViewsDialogsEnabled(); 84 bool ToolkitViewsDialogsEnabled();
85 85
86 // Shows a Views website settings bubble at the given anchor point. 86 // Shows a Views website settings bubble at the given anchor point.
87 void ShowWebsiteSettingsBubbleViewsAtPoint( 87 void ShowWebsiteSettingsBubbleViewsAtPoint(
88 const gfx::Point& anchor_point, 88 const gfx::Point& anchor_point,
89 Profile* profile, 89 Profile* profile,
90 content::WebContents* web_contents, 90 content::WebContents* web_contents,
91 const GURL& url, 91 const GURL& url,
92 const SecurityStateModel::SecurityInfo& security_info); 92 const security_state::SecurityStateModel::SecurityInfo& security_info);
93 93
94 // Show a Views bookmark bubble at the given point. This occurs when the 94 // Show a Views bookmark bubble at the given point. This occurs when the
95 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu 95 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu
96 // or via a key equivalent. 96 // or via a key equivalent.
97 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, 97 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point,
98 gfx::NativeView parent, 98 gfx::NativeView parent,
99 bookmarks::BookmarkBubbleObserver* observer, 99 bookmarks::BookmarkBubbleObserver* observer,
100 Browser* browser, 100 Browser* browser,
101 const GURL& url, 101 const GURL& url,
102 bool newly_bookmarked); 102 bool newly_bookmarked);
(...skipping 10 matching lines...) Expand all
113 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, 113 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window,
114 Profile* profile, 114 Profile* profile,
115 const BookmarkEditor::EditDetails& details, 115 const BookmarkEditor::EditDetails& details,
116 BookmarkEditor::Configuration configuration); 116 BookmarkEditor::Configuration configuration);
117 117
118 #endif // TOOLKIT_VIEWS 118 #endif // TOOLKIT_VIEWS
119 119
120 } // namespace chrome 120 } // namespace chrome
121 121
122 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 122 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698