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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Missing file 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
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 #if defined(ENABLE_SPELLCHECK) 238 #if defined(ENABLE_SPELLCHECK)
238 std::unique_ptr<SpellCheck> spellcheck_; 239 std::unique_ptr<SpellCheck> spellcheck_;
239 #endif 240 #endif
240 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 241 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
241 std::unique_ptr<subresource_filter::RulesetDealer> 242 std::unique_ptr<subresource_filter::RulesetDealer>
242 subresource_filter_ruleset_dealer_; 243 subresource_filter_ruleset_dealer_;
243 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 244 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
244 #if defined(ENABLE_WEBRTC) 245 #if defined(ENABLE_WEBRTC)
245 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 246 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
246 #endif 247 #endif
247 #if defined(ENABLE_PRINT_PREVIEW) 248 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
248 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; 249 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_;
249 #endif 250 #endif
250 #if defined(ENABLE_PLUGINS) 251 #if defined(ENABLE_PLUGINS)
251 std::set<std::string> allowed_camera_device_origins_; 252 std::set<std::string> allowed_camera_device_origins_;
252 std::set<std::string> allowed_compositor_origins_; 253 std::set<std::string> allowed_compositor_origins_;
253 #endif 254 #endif
254 255
255 #if defined(OS_CHROMEOS) 256 #if defined(OS_CHROMEOS)
256 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; 257 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_;
257 #endif 258 #endif
258 259
259 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); 260 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient);
260 }; 261 };
261 262
262 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 263 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698