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

Unified Diff: chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac_browsertest.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: Track independent bounds as native window property not member of widget class 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/web_contents_modal_dialog_manager_views_mac_browsertest.mm
diff --git a/chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac_browsertest.mm b/chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac_browsertest.mm
index 54f722fa391ef2952c66641fc955c66f028392e7..f9b27dcc0c91b96254da43d9050e318b399cf40f 100644
--- a/chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac_browsertest.mm
+++ b/chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac_browsertest.mm
@@ -49,7 +49,7 @@ class WebContentsModalDialogManagerViewsMacTest : public InProcessBrowserTest,
widget->AddObserver(this);
web_modal::WebContentsModalDialogManager* manager =
web_modal::WebContentsModalDialogManager::FromWebContents(web_contents);
- manager->ShowModalDialog(widget->GetNativeWindow());
+ manager->ShowModalDialog(widget->GetNativeWindow(), NULL, NULL);
return widget;
}

Powered by Google App Engine
This is Rietveld 408576698