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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 791133006: Delegates for the printing component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pdf_extension_id as std::string, changed back the delegate ownership Created 5 years, 11 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) 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_PRINTING)
21 class ChromePrintWebViewHelperDelegate;
22 #endif
20 #if defined(ENABLE_PRINT_PREVIEW) 23 #if defined(ENABLE_PRINT_PREVIEW)
21 class ChromePDFPrintClient; 24 class ChromePDFPrintClient;
22 #endif 25 #endif
23 class PrescientNetworkingDispatcher; 26 class PrescientNetworkingDispatcher;
24 class SearchBouncer; 27 class SearchBouncer;
25 #if defined(ENABLE_SPELLCHECK) 28 #if defined(ENABLE_SPELLCHECK)
26 class SpellCheck; 29 class SpellCheck;
27 class SpellCheckProvider; 30 class SpellCheckProvider;
28 #endif 31 #endif
29 32
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 220
218 // TODO(thestig): Extract into a separate file if possible. Cleanup 221 // TODO(thestig): Extract into a separate file if possible. Cleanup
219 // ENABLE_EXTENSIONS ifdefs in the .cc file as well. 222 // ENABLE_EXTENSIONS ifdefs in the .cc file as well.
220 #if defined(ENABLE_EXTENSIONS) 223 #if defined(ENABLE_EXTENSIONS)
221 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; 224 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_;
222 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; 225 scoped_ptr<extensions::Dispatcher> extension_dispatcher_;
223 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> 226 scoped_ptr<extensions::RendererPermissionsPolicyDelegate>
224 permissions_policy_delegate_; 227 permissions_policy_delegate_;
225 #endif 228 #endif
226 229
230 #if defined(ENABLE_PRINTING)
231 scoped_ptr<ChromePrintWebViewHelperDelegate> print_web_view_helper_delegate_;
232 #endif
233
227 scoped_ptr<dns_prefetch::PrescientNetworkingDispatcher> 234 scoped_ptr<dns_prefetch::PrescientNetworkingDispatcher>
228 prescient_networking_dispatcher_; 235 prescient_networking_dispatcher_;
229 scoped_ptr<password_manager::CredentialManagerClient> 236 scoped_ptr<password_manager::CredentialManagerClient>
230 credential_manager_client_; 237 credential_manager_client_;
231 #if defined(ENABLE_SPELLCHECK) 238 #if defined(ENABLE_SPELLCHECK)
232 scoped_ptr<SpellCheck> spellcheck_; 239 scoped_ptr<SpellCheck> spellcheck_;
233 #endif 240 #endif
234 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 241 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
235 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 242 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
236 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 243 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
237 #if defined(ENABLE_WEBRTC) 244 #if defined(ENABLE_WEBRTC)
238 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 245 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
239 #endif 246 #endif
240 scoped_ptr<SearchBouncer> search_bouncer_; 247 scoped_ptr<SearchBouncer> search_bouncer_;
241 #if defined(ENABLE_PRINT_PREVIEW) 248 #if defined(ENABLE_PRINT_PREVIEW)
242 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 249 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
243 #endif 250 #endif
244 #if defined(ENABLE_PLUGINS) 251 #if defined(ENABLE_PLUGINS)
245 std::set<std::string> allowed_compositor_origins_; 252 std::set<std::string> allowed_compositor_origins_;
246 std::set<std::string> allowed_video_decode_origins_; 253 std::set<std::string> allowed_video_decode_origins_;
247 #endif 254 #endif
248 }; 255 };
249 256
250 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 257 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698