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

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: 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/browser_dialogs_mac.cc » ('j') | chrome/browser/ui/browser_dialogs_mac.cc » ('J')
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..c9e1805ccf2148a116a44423bb42451693c4006e 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -13,10 +13,12 @@ class Browser;
class LoginHandler;
class Profile;
class SkBitmap;
+class GURL;
tapted 2015/08/10 05:44:23 nit: sort
jackhou1 2015/08/10 09:11:09 Done.
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;
@@ -33,6 +39,10 @@ namespace ui {
class WebDialogDelegate;
}
+namespace views {
+class View;
tapted 2015/08/10 05:44:23 this feels out of place here.... Maybe there's a n
jackhou1 2015/08/10 09:11:09 Done.
+}
+
namespace chrome {
// Creates and shows an HTML dialog with the given delegate and context.
@@ -81,6 +91,14 @@ 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,
+ Browser* browser);
+
#endif // OS_MACOSX
#if defined(TOOLKIT_VIEWS)
@@ -89,6 +107,14 @@ bool ToolkitViewsDialogsEnabled();
LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info,
net::URLRequest* request);
+// Shows a website settings bubble or internal page bubble.
+void ShowWebsiteSettingsBubbleViews(views::View* anchor_view,
+ Profile* profile,
+ content::WebContents* web_contents,
+ const GURL& url,
+ const content::SSLStatus& ssl,
+ Browser* browser);
+
#endif // TOOLKIT_VIEWS
} // namespace chrome
« no previous file with comments | « no previous file | chrome/browser/ui/browser_dialogs_mac.cc » ('j') | chrome/browser/ui/browser_dialogs_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698