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

Unified Diff: chrome/browser/ui/metro_pin_tab_helper.h

Issue 11198025: Site specific secondary tiles for Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup 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
« no previous file with comments | « no previous file | chrome/browser/ui/metro_pin_tab_helper.cc » ('j') | chrome/browser/ui/metro_pin_tab_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/metro_pin_tab_helper.h
diff --git a/chrome/browser/ui/metro_pin_tab_helper.h b/chrome/browser/ui/metro_pin_tab_helper.h
index 23084a2fef920137992ba99e9dd549a6b759f215..9687fb3b9678fa73f94f69d1d9b0f9b4c60ec22f 100644
--- a/chrome/browser/ui/metro_pin_tab_helper.h
+++ b/chrome/browser/ui/metro_pin_tab_helper.h
@@ -8,6 +8,8 @@
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
+class SkBitmap;
+
// Per-tab class to help manage metro pinning.
class MetroPinTabHelper
: public content::WebContentsObserver,
@@ -31,6 +33,11 @@ class MetroPinTabHelper
// Queries the metro driver about the pinned state of the current URL.
void UpdatePinnedStateForCurrentURL();
+ void PinPageToStartScreen(const string16& title,
+ const string16& url,
+ const SkBitmap* bitmap);
+ void UnPinPageFromStartScreen();
+
// Whether the current URL is pinned to the metro start screen.
bool is_pinned_;
« no previous file with comments | « no previous file | chrome/browser/ui/metro_pin_tab_helper.cc » ('j') | chrome/browser/ui/metro_pin_tab_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698