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_ |