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

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 ifdef logic, return deps to normal 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..3bedd22b2f778a7434f75fbf6b9c97cfe2ed3a2d 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,15 @@ ConstrainedWebDialogDelegate* ShowConstrainedWebDialog(
return constrained_delegate;
}
+ConstrainedWebDialogDelegate* ShowNonClippedConstrainedWebDialog(
+ content::BrowserContext* browser_context,
+ WebDialogDelegate* delegate,
+ content::WebContents* web_contents) {
+ // Deleted when the dialog closes.
Mike Wittman 2016/08/16 01:07:07 This comment is defunct and can be removed.
rbpotter 2016/08/16 18:49:44 Done.
+ // 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