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

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

Issue 8568019: Introduce per-tab preferences service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed 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
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 f99daf5acf6d985f62db9215485cb1e7878d9ad4..84b71433eb06306cf05cafc6c9460eea45cad9ba 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
@@ -40,6 +40,7 @@ class OmniboxSearchHint;
class PasswordManager;
class PasswordManagerDelegate;
class PluginObserver;
+class PrefService;
class Profile;
class RestoreTabHelper;
class SadTabObserver;
@@ -292,6 +293,9 @@ class TabContentsWrapper : public TabContentsObserver,
scoped_ptr<PasswordManagerDelegate> password_manager_delegate_;
scoped_ptr<PasswordManager> password_manager_;
+ // Allows overriding user preferences per tab.
+ scoped_ptr<PrefService> per_tab_prefs_;
Avi (use Gerrit) 2011/11/17 18:23:33 Since there is no getter, this isn't a tab helper
mnaganov (inactive) 2011/11/17 18:27:00 I'm not yet sure how to use this. I need to overri
mnaganov (inactive) 2011/11/17 19:54:43 I have moved this into the "observers" section as
+
scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_;
// Handles print job for this contents.

Powered by Google App Engine
This is Rietveld 408576698