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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper.h

Issue 8896009: Fix page zoom for plug-in documents (PDF, etc.) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/prefs/prefs_tab_helper.cc ('k') | chrome/browser/ui/tab_contents/core_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/core_tab_helper.h
===================================================================
--- chrome/browser/ui/tab_contents/core_tab_helper.h (revision 113821)
+++ chrome/browser/ui/tab_contents/core_tab_helper.h (working copy)
@@ -6,15 +6,13 @@
#define CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_
#pragma once
-#include "chrome/browser/prefs/pref_change_registrar.h"
#include "content/browser/tab_contents/tab_contents_observer.h"
class CoreTabHelperDelegate;
class TabContentsWrapper;
// Per-tab class to handle functionality that is core to the operation of tabs.
-class CoreTabHelper : public TabContentsObserver,
- public content::NotificationObserver {
+class CoreTabHelper : public TabContentsObserver {
public:
explicit CoreTabHelper(TabContentsWrapper* wrapper);
virtual ~CoreTabHelper();
@@ -32,19 +30,12 @@
// TabContentsObserver overrides:
virtual void DidBecomeSelected() OVERRIDE;
- // content::NotificationObserver overrides:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
-
// Delegate for notifying our owner about stuff. Not owned by us.
CoreTabHelperDelegate* delegate_;
// Our owning TabContentsWrapper.
TabContentsWrapper* wrapper_;
- PrefChangeRegistrar pref_change_registrar_;
-
DISALLOW_COPY_AND_ASSIGN(CoreTabHelper);
};
« no previous file with comments | « chrome/browser/ui/prefs/prefs_tab_helper.cc ('k') | chrome/browser/ui/tab_contents/core_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698