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

Unified Diff: chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm

Issue 2172363002: Created min size for print preview dialog and modified to allow the Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac compile error. Created 4 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
Index: chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
diff --git a/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm b/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
index 9ef87e6b73aa7350a02eaa7dd2a93749a4a357a0..26736343bbdd3fc0ffbcf7bad7d61ec1140b030f 100644
--- a/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
+++ b/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
@@ -245,6 +245,14 @@ ConstrainedWebDialogDelegate* ShowConstrainedWebDialog(
return constrained_delegate;
}
+ConstrainedWebDialogDelegate* ShowNonClippedConstrainedWebDialog(
+ content::BrowserContext* browser_context,
Lei Zhang 2016/08/19 03:28:46 bad indent
rbpotter 2016/08/19 16:59:42 Done.
+ WebDialogDelegate* delegate,
+ content::WebContents* web_contents) {
+ // Mac uses sheets, so we can just use the normal ShowConstrainedWebDialog.
+ return ShowConstrainedWebDialog(browser_context, delegate, web_contents);
+}
+
ConstrainedWebDialogDelegate* ShowConstrainedWebDialogWithAutoResize(
content::BrowserContext* browser_context,
WebDialogDelegate* delegate,

Powered by Google App Engine
This is Rietveld 408576698