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

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

Issue 213113005: Remove web_app_ui.[cc|h]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes for Win Created 6 years, 9 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 6b2cf5b2dc7b6c4bd2d9e1e2d95fa633cbc4b121..915e39385d81e091e08c22c99b129d9980dc4a3f 100644
--- a/chrome/browser/web_applications/web_app_win.h
+++ b/chrome/browser/web_applications/web_app_win.h
@@ -8,6 +8,10 @@
#include "base/files/file_path.h"
#include "chrome/browser/shell_integration.h"
+namespace content {
+class WebContents;
+}
+
namespace gfx {
class ImageFamily;
}
@@ -27,6 +31,13 @@ bool CheckAndSaveIcon(const base::FilePath& icon_file,
} // namespace internals
+// Updates web app shortcut of the WebContents. This function checks and
+// updates web app icon and shortcuts if needed. For icon, the check is based
+// on MD5 hash of icon image. For shortcuts, it checks the desktop, start menu
+// and quick launch (as well as pinned shortcut) for shortcut and only
+// updates (recreates) them if they exits.
+void UpdateShortcutForTabContents(content::WebContents* web_contents);
+
} // namespace web_app
#endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698