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

Unified Diff: chrome/browser/web_applications/web_app_win.cc

Issue 258243002: Support "Pin to taskbar" for hosted app windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/web_applications/web_app_win.cc
diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc
index d1dccce54e23f644c1bd7fa718e7759a5cf39b78..b4785ee6352f5149c4f895309d8456061c39f5b2 100644
--- a/chrome/browser/web_applications/web_app_win.cc
+++ b/chrome/browser/web_applications/web_app_win.cc
@@ -17,6 +17,7 @@
#include "base/strings/utf_string_conversions.h"
#include "base/win/shortcut.h"
#include "base/win/windows_version.h"
+#include "chrome/browser/web_applications/update_relaunch_details_worker_win.h"
#include "chrome/browser/web_applications/update_shortcut_worker_win.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/common/chrome_switches.h"
@@ -353,6 +354,15 @@ base::FilePath CreateShortcutInWebAppDir(
return web_app_dir_shortcut;
}
+void UpdateRelaunchDetailsForApp(Profile* profile,
+ const extensions::Extension* extension,
+ HWND hwnd) {
+ // The worker will delete itself on completion.
+ UpdateRelaunchDetailsWorker* worker =
jackhou1 2014/04/29 08:50:18 You can new UpdateRelaunchDetailsWorker(profile, e
calamity 2014/05/19 06:11:54 No longer applicable.
+ new UpdateRelaunchDetailsWorker(profile, extension, hwnd);
+ worker->Run();
+}
+
namespace internals {
// Saves |image| to |icon_file| if the file is outdated and refresh shell's

Powered by Google App Engine
This is Rietveld 408576698