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

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

Issue 8747015: Apply per-tab preference after RenderViewImpl creation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test Created 9 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/tab_contents/per_tab_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/tab_contents/per_tab_prefs_tab_helper.h
diff --git a/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.h b/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.h
index 5784dd145177475e2020435200b2c63c61d4675a..a187c00da83d4cbbc00a777c80759597b4108f6a 100644
--- a/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.h
+++ b/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.h
@@ -21,14 +21,16 @@ class PerTabPrefsTabHelper : public TabContentsObserver {
PrefService* prefs() { return prefs_.get(); }
- void OverrideWebPreferences(WebPreferences* prefs);
+ virtual void OverrideWebPreferences(WebPreferences* prefs);
- private:
+ protected:
void RegisterPerTabUserPrefs(PrefService* prefs);
// TabContentsObserver overrides:
+ virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE;
+ private:
// Our owning TabContentsWrapper.
TabContentsWrapper* wrapper_;
« no previous file with comments | « no previous file | chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698