OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "content/public/renderer/content_renderer_client.h" | 15 #include "content/public/renderer/content_renderer_client.h" |
16 #include "ipc/ipc_channel_proxy.h" | 16 #include "ipc/ipc_channel_proxy.h" |
17 | 17 |
18 class ChromeExtensionsDispatcherDelegate; | 18 class ChromeExtensionsDispatcherDelegate; |
19 class ChromeRenderProcessObserver; | 19 class ChromeRenderProcessObserver; |
20 #if defined(ENABLE_PRINT_PREVIEW) | 20 #if defined(ENABLE_PRINT_PREVIEW) |
21 class ChromePDFPrintClient; | 21 class ChromePDFPrintClient; |
22 #endif | 22 #endif |
23 class PrescientNetworkingDispatcher; | 23 class PrescientNetworkingDispatcher; |
24 class RendererNetPredictor; | |
25 class SearchBouncer; | 24 class SearchBouncer; |
26 #if defined(ENABLE_SPELLCHECK) | 25 #if defined(ENABLE_SPELLCHECK) |
27 class SpellCheck; | 26 class SpellCheck; |
28 class SpellCheckProvider; | 27 class SpellCheckProvider; |
29 #endif | 28 #endif |
30 | 29 |
31 struct ChromeViewHostMsg_GetPluginInfo_Output; | 30 struct ChromeViewHostMsg_GetPluginInfo_Output; |
32 | 31 |
33 namespace content { | 32 namespace content { |
34 class BrowserPluginDelegate; | 33 class BrowserPluginDelegate; |
35 struct WebPluginInfo; | 34 struct WebPluginInfo; |
36 } | 35 } |
37 | 36 |
| 37 namespace dns_prefetch { |
| 38 class RendererNetPredictor; |
| 39 } |
| 40 |
38 namespace extensions { | 41 namespace extensions { |
39 class Dispatcher; | 42 class Dispatcher; |
40 class Extension; | 43 class Extension; |
41 class ExtensionSet; | 44 class ExtensionSet; |
42 class RendererPermissionsPolicyDelegate; | 45 class RendererPermissionsPolicyDelegate; |
43 } | 46 } |
44 | 47 |
45 namespace prerender { | 48 namespace prerender { |
46 class PrerenderDispatcher; | 49 class PrerenderDispatcher; |
47 } | 50 } |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // TODO(thestig): Extract into a separate file if possible. Cleanup | 215 // TODO(thestig): Extract into a separate file if possible. Cleanup |
213 // ENABLE_EXTENSIONS ifdefs in the .cc file as well. | 216 // ENABLE_EXTENSIONS ifdefs in the .cc file as well. |
214 #if defined(ENABLE_EXTENSIONS) | 217 #if defined(ENABLE_EXTENSIONS) |
215 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; | 218 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; |
216 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; | 219 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; |
217 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> | 220 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> |
218 permissions_policy_delegate_; | 221 permissions_policy_delegate_; |
219 #endif | 222 #endif |
220 | 223 |
221 scoped_ptr<PrescientNetworkingDispatcher> prescient_networking_dispatcher_; | 224 scoped_ptr<PrescientNetworkingDispatcher> prescient_networking_dispatcher_; |
222 scoped_ptr<RendererNetPredictor> net_predictor_; | 225 scoped_ptr<dns_prefetch::RendererNetPredictor> net_predictor_; |
223 scoped_ptr<password_manager::CredentialManagerClient> | 226 scoped_ptr<password_manager::CredentialManagerClient> |
224 credential_manager_client_; | 227 credential_manager_client_; |
225 #if defined(ENABLE_SPELLCHECK) | 228 #if defined(ENABLE_SPELLCHECK) |
226 scoped_ptr<SpellCheck> spellcheck_; | 229 scoped_ptr<SpellCheck> spellcheck_; |
227 #endif | 230 #endif |
228 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 231 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
229 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 232 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
230 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 233 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
231 #if defined(ENABLE_WEBRTC) | 234 #if defined(ENABLE_WEBRTC) |
232 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 235 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
233 #endif | 236 #endif |
234 scoped_ptr<SearchBouncer> search_bouncer_; | 237 scoped_ptr<SearchBouncer> search_bouncer_; |
235 #if defined(ENABLE_PRINT_PREVIEW) | 238 #if defined(ENABLE_PRINT_PREVIEW) |
236 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 239 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
237 #endif | 240 #endif |
238 #if defined(ENABLE_PLUGINS) | 241 #if defined(ENABLE_PLUGINS) |
239 std::set<std::string> allowed_compositor_origins_; | 242 std::set<std::string> allowed_compositor_origins_; |
240 std::set<std::string> allowed_video_decode_origins_; | 243 std::set<std::string> allowed_video_decode_origins_; |
241 #endif | 244 #endif |
242 }; | 245 }; |
243 | 246 |
244 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 247 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |