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

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

Issue 10828193: Revert 148511 - Add pin icon to the omnibar in windows 8 metro mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « chrome/browser/ui/gtk/view_id_util_browsertest.cc ('k') | chrome/browser/ui/metro_pin_tab_helper.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.h
===================================================================
--- chrome/browser/ui/metro_pin_tab_helper.h (revision 150228)
+++ chrome/browser/ui/metro_pin_tab_helper.h (working copy)
@@ -7,20 +7,14 @@
#include "content/public/browser/web_contents_observer.h"
-class MetroPinnedStateObserver;
-
// Per-tab class to help manage metro pinning.
class MetroPinTabHelper : public content::WebContentsObserver {
public:
- explicit MetroPinTabHelper(content::WebContents* web_contents);
+ explicit MetroPinTabHelper(content::WebContents* tab_contents);
virtual ~MetroPinTabHelper();
bool is_pinned() const { return is_pinned_; }
- void set_observer(MetroPinnedStateObserver* observer) {
- observer_ = observer;
- }
-
void TogglePinnedToStartScreen();
// content::WebContentsObserver overrides:
@@ -32,15 +26,9 @@
// Queries the metro driver about the pinned state of the current URL.
void UpdatePinnedStateForCurrentURL();
- // Update the pinned state and notify the delegate.
- void SetIsPinned(bool is_pinned);
-
// Whether the current URL is pinned to the metro start screen.
bool is_pinned_;
- // The observer that we inform when the |is_pinned_| state changes.
- MetroPinnedStateObserver* observer_;
-
DISALLOW_COPY_AND_ASSIGN(MetroPinTabHelper);
};
« no previous file with comments | « chrome/browser/ui/gtk/view_id_util_browsertest.cc ('k') | chrome/browser/ui/metro_pin_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698