summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/create_application_shortcut_view.cc
diff options
context:
space:
mode:
authorjackhou@chromium.org <jackhou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-15 13:02:15 +0000
committerjackhou@chromium.org <jackhou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-15 13:02:15 +0000
commit2e0424a79f710306886b1c58075b86feff3798a1 (patch)
treebe9ea19f03537b2ec275bbcfdcf032e566829e01 /chrome/browser/ui/views/create_application_shortcut_view.cc
parent0cc8aa4c3854b322602a7960f1a0ee1a7c5c26e5 (diff)
downloadchromium_src-2e0424a79f710306886b1c58075b86feff3798a1.zip
chromium_src-2e0424a79f710306886b1c58075b86feff3798a1.tar.gz
chromium_src-2e0424a79f710306886b1c58075b86feff3798a1.tar.bz2
Move ShortcutInfo, ShortcutLocations from ShellIntegration to web_app.
BUG=356889 Review URL: https://codereview.chromium.org/231673005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263826 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/create_application_shortcut_view.cc')
-rw-r--r--chrome/browser/ui/views/create_application_shortcut_view.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index 054265e..521ebe3 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_);