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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.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 | « chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/tab_contents_wrapper.h
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
index c1a6d7d7dabd5f0074385de173c664ded205a752..3bec47260e1eedc30e37213780e31c255d6f473c 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
@@ -235,6 +235,10 @@ class TabContentsWrapper : public TabContentsObserver,
const content::NotificationDetails& details) OVERRIDE;
private:
+ friend class PerTabPrefsTabHelper; // for UpdateWebPreferences
+ FRIEND_TEST_ALL_PREFIXES(
+ PerTabPrefsTabHelperTest, OverridePrefsOnViewCreation);
+
// Internal helpers ----------------------------------------------------------
// Message handlers.
« no previous file with comments | « chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698