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

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

Issue 258243002: Support "Pin to taskbar" for hosted app windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove worker Created 6 years, 7 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.h
diff --git a/chrome/browser/web_applications/web_app_win.h b/chrome/browser/web_applications/web_app_win.h
index 7e87c29b86f1798862283f2060e3f1edab1bb1fa..041390b8d403c4d1db5414f24549ae5537ae6a50 100644
--- a/chrome/browser/web_applications/web_app_win.h
+++ b/chrome/browser/web_applications/web_app_win.h
@@ -8,10 +8,16 @@
#include "base/files/file_path.h"
#include "chrome/browser/web_applications/web_app.h"
+class Profile;
+
namespace content {
class WebContents;
}
+namespace extensions {
+class Extension;
+}
+
namespace gfx {
class ImageFamily;
}
@@ -24,6 +30,12 @@ base::FilePath CreateShortcutInWebAppDir(
const base::FilePath& web_app_path,
const web_app::ShortcutInfo& shortcut_info);
+// Update the relaunch details for the given app's window, making the taskbar
+// group's "Pin to the taskbar" button function correctly.
+void UpdateRelaunchDetailsForApp(Profile* profile,
+ const extensions::Extension* extension,
+ HWND hwnd);
+
namespace internals {
bool CheckAndSaveIcon(const base::FilePath& icon_file,

Powered by Google App Engine
This is Rietveld 408576698