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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge Created 4 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
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
17 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
18 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
19 #include "components/rappor/public/interfaces/rappor_recorder.mojom.h" 19 #include "components/rappor/public/interfaces/rappor_recorder.mojom.h"
20 #include "content/public/renderer/content_renderer_client.h" 20 #include "content/public/renderer/content_renderer_client.h"
21 #include "ipc/ipc_channel_proxy.h" 21 #include "ipc/ipc_channel_proxy.h"
22 #include "printing/features/features.h"
22 #include "v8/include/v8.h" 23 #include "v8/include/v8.h"
23 24
24 #if defined (OS_CHROMEOS) 25 #if defined (OS_CHROMEOS)
25 #include "chrome/renderer/leak_detector/leak_detector_remote_client.h" 26 #include "chrome/renderer/leak_detector/leak_detector_remote_client.h"
26 #endif 27 #endif
27 28
28 class ChromeRenderThreadObserver; 29 class ChromeRenderThreadObserver;
29 #if defined(ENABLE_PRINT_PREVIEW) 30 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
30 class ChromePDFPrintClient; 31 class ChromePDFPrintClient;
31 #endif 32 #endif
32 class PrescientNetworkingDispatcher; 33 class PrescientNetworkingDispatcher;
33 #if defined(ENABLE_SPELLCHECK) 34 #if defined(ENABLE_SPELLCHECK)
34 class SpellCheck; 35 class SpellCheck;
35 class SpellCheckProvider; 36 class SpellCheckProvider;
36 #endif 37 #endif
37 38
38 struct ChromeViewHostMsg_GetPluginInfo_Output; 39 struct ChromeViewHostMsg_GetPluginInfo_Output;
39 40
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 #if defined(ENABLE_SPELLCHECK) 237 #if defined(ENABLE_SPELLCHECK)
237 std::unique_ptr<SpellCheck> spellcheck_; 238 std::unique_ptr<SpellCheck> spellcheck_;
238 #endif 239 #endif
239 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 240 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
240 std::unique_ptr<subresource_filter::RulesetDealer> 241 std::unique_ptr<subresource_filter::RulesetDealer>
241 subresource_filter_ruleset_dealer_; 242 subresource_filter_ruleset_dealer_;
242 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 243 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
243 #if defined(ENABLE_WEBRTC) 244 #if defined(ENABLE_WEBRTC)
244 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 245 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
245 #endif 246 #endif
246 #if defined(ENABLE_PRINT_PREVIEW) 247 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
247 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; 248 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_;
248 #endif 249 #endif
249 #if defined(ENABLE_PLUGINS) 250 #if defined(ENABLE_PLUGINS)
250 std::set<std::string> allowed_camera_device_origins_; 251 std::set<std::string> allowed_camera_device_origins_;
251 std::set<std::string> allowed_compositor_origins_; 252 std::set<std::string> allowed_compositor_origins_;
252 #endif 253 #endif
253 254
254 #if defined(OS_CHROMEOS) 255 #if defined(OS_CHROMEOS)
255 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; 256 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_;
256 #endif 257 #endif
257 258
258 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); 259 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient);
259 }; 260 };
260 261
261 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 262 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698