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 281de089925abd2a21d2119b68ab61d4f4aaff11..b86f91a50221670a926894bbcbc33f2ba2eb2e26 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; |
} |
@@ -23,6 +29,12 @@ namespace web_app { |
base::FilePath CreateShortcutInWebAppDir(const base::FilePath& web_app_path, |
const 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, |