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..cad2642b559dacda7f4e9196c73d8be4ad4e2d02 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 entire app that |parent| |
+// window belongs to. This places the dialog appropriately if |parent| has |
+// an associated ModalDialogHost. |
+views::Widget* CreateAppModalDialogViews(views::DialogDelegate* dialog, |
+ gfx::NativeWindow parent); |
#endif // COMPONENTS_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_VIEWS_H_ |