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

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: 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.h
diff --git a/chrome/browser/web_applications/web_app_win.h b/chrome/browser/web_applications/web_app_win.h
index 4f4c5417dc170952680c0c809685fc6a359115bb..08b708f349090ec5b987daabff1bc13193ad557e 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/shell_integration.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 ShellIntegration::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