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

Side by Side 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 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 CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 22 matching lines...) Expand all
33 class ExternalProtocolObserver; 33 class ExternalProtocolObserver;
34 class FaviconTabHelper; 34 class FaviconTabHelper;
35 class FindTabHelper; 35 class FindTabHelper;
36 class InfoBarTabHelper; 36 class InfoBarTabHelper;
37 class HistoryTabHelper; 37 class HistoryTabHelper;
38 class NavigationController; 38 class NavigationController;
39 class OmniboxSearchHint; 39 class OmniboxSearchHint;
40 class PasswordManager; 40 class PasswordManager;
41 class PasswordManagerDelegate; 41 class PasswordManagerDelegate;
42 class PluginObserver; 42 class PluginObserver;
43 class PrefService;
43 class Profile; 44 class Profile;
44 class RestoreTabHelper; 45 class RestoreTabHelper;
45 class SadTabObserver; 46 class SadTabObserver;
46 class SearchEngineTabHelper; 47 class SearchEngineTabHelper;
47 class TabContentsSSLHelper; 48 class TabContentsSSLHelper;
48 class TabContentsWrapperDelegate; 49 class TabContentsWrapperDelegate;
49 class TabContentsWrapperSyncedTabDelegate; 50 class TabContentsWrapperSyncedTabDelegate;
50 class TabSpecificContentSettings; 51 class TabSpecificContentSettings;
51 class ThumbnailGenerator; 52 class ThumbnailGenerator;
52 class TranslateTabHelper; 53 class TranslateTabHelper;
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; 286 scoped_ptr<FaviconTabHelper> favicon_tab_helper_;
286 scoped_ptr<FindTabHelper> find_tab_helper_; 287 scoped_ptr<FindTabHelper> find_tab_helper_;
287 scoped_ptr<HistoryTabHelper> history_tab_helper_; 288 scoped_ptr<HistoryTabHelper> history_tab_helper_;
288 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; 289 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_;
289 290
290 // PasswordManager and its delegate. The delegate must outlive the manager, 291 // PasswordManager and its delegate. The delegate must outlive the manager,
291 // per documentation in password_manager.h. 292 // per documentation in password_manager.h.
292 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; 293 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_;
293 scoped_ptr<PasswordManager> password_manager_; 294 scoped_ptr<PasswordManager> password_manager_;
294 295
296 // Allows overriding user preferences per tab.
297 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
298
295 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_; 299 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_;
296 300
297 // Handles print job for this contents. 301 // Handles print job for this contents.
298 scoped_ptr<printing::PrintViewManager> print_view_manager_; 302 scoped_ptr<printing::PrintViewManager> print_view_manager_;
299 303
300 scoped_ptr<RestoreTabHelper> restore_tab_helper_; 304 scoped_ptr<RestoreTabHelper> restore_tab_helper_;
301 305
302 // Handles displaying a web intents picker to the user. 306 // Handles displaying a web intents picker to the user.
303 scoped_ptr<WebIntentPickerController> web_intent_picker_controller_; 307 scoped_ptr<WebIntentPickerController> web_intent_picker_controller_;
304 308
(...skipping 29 matching lines...) Expand all
334 338
335 // The supporting objects need to outlive the TabContents dtor (as they may 339 // The supporting objects need to outlive the TabContents dtor (as they may
336 // be called upon during its execution). As a result, this must come last 340 // be called upon during its execution). As a result, this must come last
337 // in the list. 341 // in the list.
338 scoped_ptr<TabContents> tab_contents_; 342 scoped_ptr<TabContents> tab_contents_;
339 343
340 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 344 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
341 }; 345 };
342 346
343 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 347 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698