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

Unified Diff: components/constrained_window/constrained_window_views.h

Issue 666533007: Move JavaScriptDialogManager, JavascriptAppModalDialogViews to components/app_modal_dialogs (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: similarity=30 Created 6 years, 2 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: components/constrained_window/constrained_window_views.h
diff --git a/components/constrained_window/constrained_window_views.h b/components/constrained_window/constrained_window_views.h
index c638f7e9d45d74838a7a379883262f277dbfe212..b59da9d6a946849450d1eeb066b03422838f5e57 100644
--- a/components/constrained_window/constrained_window_views.h
+++ b/components/constrained_window/constrained_window_views.h
@@ -48,9 +48,10 @@ views::Widget* ShowWebModalDialogViews(
views::Widget* CreateWebModalDialogViews(views::WidgetDelegate* dialog,
content::WebContents* web_contents);
-// Create a widget for |dialog| that is modal to the browser window |parent|.
-// This places the dialog appropriately if |parent| is a valid browser window.
-views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog,
- gfx::NativeWindow parent);
+// Create a widget for |dialog| that is modal to the |parent| window.
+// This places the dialog appropriately if |parent| has an associated
+// ModalDialogHost.
+views::Widget* CreateWindowModalDialogViews(views::DialogDelegate* dialog,
Avi (use Gerrit) 2014/11/04 20:46:41 You talk about this in the CL description:
oshima 2014/11/04 23:12:18 I see. I was confused by the comment. I changed to
msw 2014/11/05 03:53:54 I wonder if "SystemModal" might be appropriate her
oshima 2014/11/05 21:42:17 Looks like we have inconsistent use of app/system.
Avi (use Gerrit) 2014/11/05 21:50:40 I made my suggestion for "AppModal". I don't like
+ gfx::NativeWindow parent);
#endif // COMPONENTS_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_VIEWS_H_

Powered by Google App Engine
This is Rietveld 408576698