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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 1280673003: [Mac] Enable MacViews site settings bubble behind --enable-mac-views-dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enabledialogs
Patch Set: Address comments. Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index f83ddbe0b3584b3d1360e032f48b9a2ea88ceebf..1279de689236125b11e753a90f5a3540f4a4881b 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -10,6 +10,7 @@
#include "ui/gfx/native_widget_types.h"
class Browser;
+class GURL;
class LoginHandler;
class Profile;
class SkBitmap;
@@ -17,6 +18,7 @@ class SkBitmap;
namespace content {
class BrowserContext;
class ColorChooser;
+struct SSLStatus;
class WebContents;
}
@@ -24,6 +26,10 @@ namespace extensions {
class Extension;
}
+namespace gfx {
+class Point;
+}
+
namespace net {
class AuthChallengeInfo;
class URLRequest;
@@ -81,6 +87,13 @@ content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
// dialog using one of the functions below, rather than showing a Cocoa dialog.
bool ToolkitViewsDialogsEnabled();
+// Shows a Views website settings bubble at the given anchor point.
+void ShowWebsiteSettingsBubbleViewsAtPoint(const gfx::Point& anchor_point,
+ Profile* profile,
+ content::WebContents* web_contents,
+ const GURL& url,
+ const content::SSLStatus& ssl);
+
#endif // OS_MACOSX
#if defined(TOOLKIT_VIEWS)
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698