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

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

Issue 3304015: Use PrefChangeRegistrar everywhere (Closed)
Patch Set: final version for commit Created 10 years, 2 months 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 #include <deque> 11 #include <deque>
12 #include <map> 12 #include <map>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
17 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
18 #include "base/scoped_ptr.h" 18 #include "base/scoped_ptr.h"
19 #include "chrome/browser/cancelable_request.h" 19 #include "chrome/browser/cancelable_request.h"
20 #include "chrome/browser/dom_ui/dom_ui_factory.h" 20 #include "chrome/browser/dom_ui/dom_ui_factory.h"
21 #include "chrome/browser/download/save_package.h" 21 #include "chrome/browser/download/save_package.h"
22 #include "chrome/browser/extensions/image_loading_tracker.h" 22 #include "chrome/browser/extensions/image_loading_tracker.h"
23 #include "chrome/browser/fav_icon_helper.h" 23 #include "chrome/browser/fav_icon_helper.h"
24 #include "chrome/browser/find_bar_controller.h" 24 #include "chrome/browser/find_bar_controller.h"
25 #include "chrome/browser/find_notification_details.h" 25 #include "chrome/browser/find_notification_details.h"
26 #include "chrome/browser/jsmessage_box_client.h" 26 #include "chrome/browser/jsmessage_box_client.h"
27 #include "chrome/browser/prefs/pref_change_registrar.h"
27 #include "chrome/browser/password_manager/password_manager_delegate.h" 28 #include "chrome/browser/password_manager/password_manager_delegate.h"
28 #include "chrome/browser/renderer_host/render_view_host_delegate.h" 29 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
29 #include "chrome/browser/tab_contents/constrained_window.h" 30 #include "chrome/browser/tab_contents/constrained_window.h"
30 #include "chrome/browser/tab_contents/language_state.h" 31 #include "chrome/browser/tab_contents/language_state.h"
31 #include "chrome/browser/tab_contents/navigation_controller.h" 32 #include "chrome/browser/tab_contents/navigation_controller.h"
32 #include "chrome/browser/tab_contents/navigation_entry.h" 33 #include "chrome/browser/tab_contents/navigation_entry.h"
33 #include "chrome/browser/tab_contents/page_navigator.h" 34 #include "chrome/browser/tab_contents/page_navigator.h"
34 #include "chrome/browser/tab_contents/render_view_host_manager.h" 35 #include "chrome/browser/tab_contents/render_view_host_manager.h"
35 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" 36 #include "chrome/browser/tab_contents/tab_specific_content_settings.h"
36 #include "chrome/common/notification_registrar.h" 37 #include "chrome/common/notification_registrar.h"
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 1051
1051 // Manages creation and swapping of render views. 1052 // Manages creation and swapping of render views.
1052 RenderViewHostManager render_manager_; 1053 RenderViewHostManager render_manager_;
1053 1054
1054 // Stores random bits of data for others to associate with this object. 1055 // Stores random bits of data for others to associate with this object.
1055 PropertyBag property_bag_; 1056 PropertyBag property_bag_;
1056 1057
1057 // Registers and unregisters us for notifications. 1058 // Registers and unregisters us for notifications.
1058 NotificationRegistrar registrar_; 1059 NotificationRegistrar registrar_;
1059 1060
1061 // Registers and unregisters for pref notifications.
1062 PrefChangeRegistrar pref_change_registrar_;
1063
1060 // Handles print preview and print job for this contents. 1064 // Handles print preview and print job for this contents.
1061 scoped_ptr<printing::PrintViewManager> printing_; 1065 scoped_ptr<printing::PrintViewManager> printing_;
1062 1066
1063 // SavePackage, lazily created. 1067 // SavePackage, lazily created.
1064 scoped_refptr<SavePackage> save_package_; 1068 scoped_refptr<SavePackage> save_package_;
1065 1069
1066 // AutocompleteHistoryManager, lazily created. 1070 // AutocompleteHistoryManager, lazily created.
1067 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; 1071 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_;
1068 1072
1069 // AutoFillManager, lazily created. 1073 // AutoFillManager, lazily created.
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 1276
1273 // See description in RenderViewHostDelegate::SetDisplayingPDFContent. 1277 // See description in RenderViewHostDelegate::SetDisplayingPDFContent.
1274 bool displaying_pdf_content_; 1278 bool displaying_pdf_content_;
1275 1279
1276 // --------------------------------------------------------------------------- 1280 // ---------------------------------------------------------------------------
1277 1281
1278 DISALLOW_COPY_AND_ASSIGN(TabContents); 1282 DISALLOW_COPY_AND_ASSIGN(TabContents);
1279 }; 1283 };
1280 1284
1281 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1285 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/preference_change_processor.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698