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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.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, 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: chrome/browser/ui/views/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index 85fa4ffe3e76a91a87da1a7c841d496745d9b22d..f0fae524762a0f2f2e874d894946752c0ce1ac4e 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -229,7 +229,7 @@ namespace chrome {
void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
content::WebContents* web_contents) {
- CreateBrowserModalDialogViews(
+ CreateWindowModalDialogViews(
new CreateUrlApplicationShortcutView(web_contents),
parent_window)->Show();
}
@@ -239,7 +239,7 @@ void ShowCreateChromeAppShortcutsDialog(
Profile* profile,
const extensions::Extension* app,
const base::Callback<void(bool)>& close_callback) {
- CreateBrowserModalDialogViews(
+ CreateWindowModalDialogViews(
new CreateChromeApplicationShortcutView(profile, app, close_callback),
parent_window)->Show();
}

Powered by Google App Engine
This is Rietveld 408576698