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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.h

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/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/find_bar/find_tab_helper.cc ('k') | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/prefs/prefs_tab_helper.h
===================================================================
--- chrome/browser/ui/prefs/prefs_tab_helper.h (revision 115777)
+++ chrome/browser/ui/prefs/prefs_tab_helper.h (working copy)
@@ -18,7 +18,7 @@
class PrefsTabHelper : public content::WebContentsObserver,
public content::NotificationObserver {
public:
- explicit PrefsTabHelper(TabContents* contents);
+ explicit PrefsTabHelper(content::WebContents* contents);
virtual ~PrefsTabHelper();
static void RegisterUserPrefs(PrefService* prefs);
@@ -46,9 +46,6 @@
Profile* GetProfile();
- // Our owning TabContents.
- TabContents* contents_;
-
content::NotificationRegistrar registrar_;
scoped_ptr<PrefService> per_tab_prefs_;
« no previous file with comments | « chrome/browser/ui/find_bar/find_tab_helper.cc ('k') | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698