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

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

Issue 11362050: [Win8] Fix pin / unpin status if the user cancels an action or pins / unpins from start screen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/metro_pin_tab_helper_win.h
diff --git a/chrome/browser/ui/metro_pin_tab_helper_win.h b/chrome/browser/ui/metro_pin_tab_helper_win.h
index 77a81a7b74887f3db0eedf8ce11a08ca9e078851..737832ee56deb9e954811ddc8269edcb7303cc66 100644
--- a/chrome/browser/ui/metro_pin_tab_helper_win.h
+++ b/chrome/browser/ui/metro_pin_tab_helper_win.h
@@ -20,7 +20,7 @@ class MetroPinTabHelper
public:
virtual ~MetroPinTabHelper();
- bool is_pinned() const { return is_pinned_; }
+ bool IsPinned() const;
void TogglePinnedToStartScreen();
@@ -49,17 +49,11 @@ class MetroPinTabHelper
int requested_size,
const std::vector<SkBitmap>& bitmaps);
- // Queries the metro driver about the pinned state of the current URL.
- void UpdatePinnedStateForCurrentURL();
-
void UnPinPageFromStartScreen();
// Called by the |favicon_downloader_| when it has finished.
void FaviconDownloaderFinished();
- // Whether the current URL is pinned to the metro start screen.
- bool is_pinned_;
-
// Candidate Favicon URLs for the current page.
std::vector<FaviconURL> favicon_url_candidates_;
« no previous file with comments | « no previous file | chrome/browser/ui/metro_pin_tab_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698