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

Unified Diff: components/constrained_window/constrained_window_views.cc

Issue 666533007: Move JavaScriptDialogManager, JavascriptAppModalDialogViews to components/app_modal_dialogs (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 1 month 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.cc
diff --git a/components/constrained_window/constrained_window_views.cc b/components/constrained_window/constrained_window_views.cc
index 68664fbe93579fbd3700a0f7270996df382602ef..189a18044a67e1d9ae566c4962b1988be1425723 100644
--- a/components/constrained_window/constrained_window_views.cc
+++ b/components/constrained_window/constrained_window_views.cc
@@ -152,8 +152,8 @@ views::Widget* CreateWebModalDialogViews(views::WidgetDelegate* dialog,
}
// TODO(gbillock): Replace this with PopupManager calls.
-views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog,
- gfx::NativeWindow parent) {
+views::Widget* CreateAppModalDialogViews(views::DialogDelegate* dialog,
msw 2014/11/05 03:53:56 This tangential function renaming affects too many
oshima 2014/11/05 21:42:19 This was to keep the name consistent with c14n cha
+ gfx::NativeWindow parent) {
msw 2014/11/05 03:53:56 nit: fix indent.
oshima 2014/11/05 21:42:19 Done.
views::Widget* widget =
views::DialogDelegate::CreateDialogWidget(dialog, NULL, parent);
if (!dialog->UseNewStyleForThisDialog())

Powered by Google App Engine
This is Rietveld 408576698