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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm

Issue 287123002: [WebModals] New API for browser-scoped popup management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More test fixes Created 6 years, 6 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_window/constrained_window_mac.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
index 7e6031b1c5d93e04d81ec73d54470025f30e0bb3..36da7ec7cc7d71d58eba62da339ca926ed50a88f 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
@@ -33,6 +33,7 @@ ConstrainedWindowMac::ConstrainedWindowMac(
web_contents_ = web_view_guest && web_view_guest->embedder_web_contents() ?
web_view_guest->embedder_web_contents() : web_contents;
DCHECK(sheet_.get());
+ // TODO(gbillock): Use PopupManager here.
Mike Wittman 2014/06/25 02:38:50 Do you intend to address the Mac usage in this CL?
Greg Billock 2014/06/25 19:06:14 Done.
WebContentsModalDialogManager* web_contents_modal_dialog_manager =
WebContentsModalDialogManager::FromWebContents(web_contents_);
web_contents_modal_dialog_manager->ShowModalDialog(this);

Powered by Google App Engine
This is Rietveld 408576698