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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.cc

Issue 231673005: Move ShortcutInfo, ShortcutLocations from ShellIntegration to web_app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 8 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 054265e69b3ab6c7423e6949c1b7b83025573f4b..521ebe36a20c875b1fa380bf9561edd5f85c2e17 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -371,13 +371,13 @@ bool CreateApplicationShortcutView::Accept() {
if (!IsDialogButtonEnabled(ui::DIALOG_BUTTON_OK))
return false;
- ShellIntegration::ShortcutLocations creation_locations;
+ web_app::ShortcutLocations creation_locations;
creation_locations.on_desktop = desktop_check_box_->checked();
if (menu_check_box_ != NULL && menu_check_box_->checked()) {
creation_locations.applications_menu_location =
create_in_chrome_apps_subdir_ ?
- ShellIntegration::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS :
- ShellIntegration::APP_MENU_LOCATION_ROOT;
+ web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS :
+ web_app::APP_MENU_LOCATION_ROOT;
}
#if defined(OS_WIN)
@@ -556,7 +556,7 @@ bool CreateChromeApplicationShortcutView::Cancel() {
// Called when the app's ShortcutInfo (with icon) is loaded.
void CreateChromeApplicationShortcutView::OnShortcutInfoLoaded(
- const ShellIntegration::ShortcutInfo& shortcut_info) {
+ const web_app::ShortcutInfo& shortcut_info) {
shortcut_info_ = shortcut_info;
CHECK(app_info_);

Powered by Google App Engine
This is Rietveld 408576698