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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 8568019: Introduce per-tab preferences service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 20 matching lines...) Expand all
31 #include "net/base/load_states.h" 31 #include "net/base/load_states.h"
32 #include "ui/gfx/native_widget_types.h" 32 #include "ui/gfx/native_widget_types.h"
33 #include "webkit/glue/resource_type.h" 33 #include "webkit/glue/resource_type.h"
34 34
35 #if defined(OS_WIN) 35 #if defined(OS_WIN)
36 #include "base/win/scoped_handle.h" 36 #include "base/win/scoped_handle.h"
37 #endif 37 #endif
38 38
39 class DownloadItem; 39 class DownloadItem;
40 class LoadNotificationDetails; 40 class LoadNotificationDetails;
41 class PrefService;
41 class RenderViewHost; 42 class RenderViewHost;
42 class SessionStorageNamespace; 43 class SessionStorageNamespace;
43 class SiteInstance; 44 class SiteInstance;
44 class TabContentsDelegate; 45 class TabContentsDelegate;
45 class TabContentsObserver; 46 class TabContentsObserver;
46 class TabContentsView; 47 class TabContentsView;
47 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; 48 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params;
48 49
49 namespace webkit_glue { 50 namespace webkit_glue {
50 struct WebIntentData; 51 struct WebIntentData;
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 // remember it. 864 // remember it.
864 bool temporary_zoom_settings_; 865 bool temporary_zoom_settings_;
865 866
866 // Content restrictions, used to disable print/copy etc based on content's 867 // Content restrictions, used to disable print/copy etc based on content's
867 // (full-page plugins for now only) permissions. 868 // (full-page plugins for now only) permissions.
868 int content_restrictions_; 869 int content_restrictions_;
869 870
870 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. 871 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
871 content::ViewType view_type_; 872 content::ViewType view_type_;
872 873
874 // Allows overriding user preferences per tab.
875 scoped_ptr<PrefService> per_tab_prefs_;
876
873 DISALLOW_COPY_AND_ASSIGN(TabContents); 877 DISALLOW_COPY_AND_ASSIGN(TabContents);
874 }; 878 };
875 879
876 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 880 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698