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

Unified Diff: win8/metro_driver/secondary_tile.h

Issue 11198025: Site specific secondary tiles for Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops Created 8 years, 2 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: win8/metro_driver/secondary_tile.h
diff --git a/win8/metro_driver/secondary_tile.h b/win8/metro_driver/secondary_tile.h
index 796e881fa0e6a2d466282ec2ee38826d43b0aa8f..caee7e816d732f9033e949eb41ce5cf59f308cf5 100644
--- a/win8/metro_driver/secondary_tile.h
+++ b/win8/metro_driver/secondary_tile.h
@@ -4,13 +4,20 @@
#ifndef CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_
#define CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_
+#include "base/file_path.h"
#include "base/string16.h"
extern "C" __declspec(dllexport)
-BOOL MetroIsPinnedToStartScreen(const string16& url);
+BOOL MetroIsPinnedToStartScreen(const string16& tile_id);
extern "C" __declspec(dllexport)
-void MetroTogglePinnedToStartScreen(const string16& title, const string16& url);
+void MetroUnPinFromStartScreen(const string16& tile_id);
+
+extern "C" __declspec(dllexport)
+void MetroPinToStartScreen(const string16& tile_id,
+ const string16& title,
+ const string16& url,
+ const FilePath& logo_path);
#endif // CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_

Powered by Google App Engine
This is Rietveld 408576698