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

Side by Side Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc

Issue 213113005: Remove web_app_ui.[cc|h]. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h" 5 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h"
6 6
7 #include "apps/app_window.h" 7 #include "apps/app_window.h"
8 #include "apps/app_window_registry.h" 8 #include "apps/app_window_registry.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/threading/sequenced_worker_pool.h" 14 #include "base/threading/sequenced_worker_pool.h"
15 #include "chrome/browser/apps/per_app_settings_service.h" 15 #include "chrome/browser/apps/per_app_settings_service.h"
16 #include "chrome/browser/apps/per_app_settings_service_factory.h" 16 #include "chrome/browser/apps/per_app_settings_service_factory.h"
17 #include "chrome/browser/jumplist_updater_win.h" 17 #include "chrome/browser/jumplist_updater_win.h"
18 #include "chrome/browser/metro_utils/metro_chrome_win.h" 18 #include "chrome/browser/metro_utils/metro_chrome_win.h"
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/shell_integration.h" 20 #include "chrome/browser/shell_integration.h"
21 #include "chrome/browser/ui/web_applications/web_app_ui.h"
22 #include "chrome/browser/web_applications/web_app.h" 21 #include "chrome/browser/web_applications/web_app.h"
23 #include "chrome/browser/web_applications/web_app_win.h" 22 #include "chrome/browser/web_applications/web_app_win.h"
24 #include "chrome/common/chrome_icon_resources_win.h" 23 #include "chrome/common/chrome_icon_resources_win.h"
25 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
26 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
27 #include "extensions/common/extension.h" 26 #include "extensions/common/extension.h"
28 #include "grit/generated_resources.h" 27 #include "grit/generated_resources.h"
29 #include "ui/aura/remote_window_tree_host_win.h" 28 #include "ui/aura/remote_window_tree_host_win.h"
30 #include "ui/base/l10n/l10n_util.h" 29 #include "ui/base/l10n/l10n_util.h"
31 #include "ui/base/win/shell.h" 30 #include "ui/base/win/shell.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 link->GetCommandLine()->AppendSwitchASCII(switches::kInstallFromWebstore, 211 link->GetCommandLine()->AppendSwitchASCII(switches::kInstallFromWebstore,
213 extension->id()); 212 extension->id());
214 213
215 ShellLinkItemList items; 214 ShellLinkItemList items;
216 items.push_back(link); 215 items.push_back(link);
217 jumplist_updater.AddTasks(items); 216 jumplist_updater.AddTasks(items);
218 } 217 }
219 218
220 jumplist_updater.CommitUpdate(); 219 jumplist_updater.CommitUpdate();
221 } 220 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698