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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 2629243002: content: Remove blimp compositing dependencies. (Closed)
Patch Set: .. Created 3 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
« no previous file with comments | « content/public/renderer/BUILD.gn ('k') | content/public/renderer/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 CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 12 matching lines...) Expand all
23 #include "third_party/WebKit/public/web/WebNavigationType.h" 23 #include "third_party/WebKit/public/web/WebNavigationType.h"
24 #include "ui/base/page_transition_types.h" 24 #include "ui/base/page_transition_types.h"
25 #include "v8/include/v8.h" 25 #include "v8/include/v8.h"
26 26
27 class GURL; 27 class GURL;
28 class SkBitmap; 28 class SkBitmap;
29 29
30 namespace base { 30 namespace base {
31 class FilePath; 31 class FilePath;
32 class SchedulerWorkerPoolParams; 32 class SchedulerWorkerPoolParams;
33 class SingleThreadTaskRunner;
34 } 33 }
35 34
36 namespace blink { 35 namespace blink {
37 class WebAudioDevice; 36 class WebAudioDevice;
38 class WebClipboard; 37 class WebClipboard;
39 class WebFrame; 38 class WebFrame;
40 class WebLocalFrame; 39 class WebLocalFrame;
41 class WebMIDIAccessor; 40 class WebMIDIAccessor;
42 class WebMIDIAccessorClient; 41 class WebMIDIAccessorClient;
43 class WebMediaStreamCenter; 42 class WebMediaStreamCenter;
44 class WebMediaStreamCenterClient; 43 class WebMediaStreamCenterClient;
45 class WebPlugin; 44 class WebPlugin;
46 class WebPrescientNetworking; 45 class WebPrescientNetworking;
47 class WebRTCPeerConnectionHandler; 46 class WebRTCPeerConnectionHandler;
48 class WebRTCPeerConnectionHandlerClient; 47 class WebRTCPeerConnectionHandlerClient;
49 class WebSpeechSynthesizer; 48 class WebSpeechSynthesizer;
50 class WebSpeechSynthesizerClient; 49 class WebSpeechSynthesizerClient;
51 class WebThemeEngine; 50 class WebThemeEngine;
52 class WebURL; 51 class WebURL;
53 class WebURLResponse; 52 class WebURLResponse;
54 class WebURLRequest; 53 class WebURLRequest;
55 class WebWorkerContentSettingsClientProxy; 54 class WebWorkerContentSettingsClientProxy;
56 struct WebPluginParams; 55 struct WebPluginParams;
57 struct WebURLError; 56 struct WebURLError;
58 } 57 }
59 58
60 namespace cc {
61 class ImageSerializationProcessor;
62 class RemoteCompositorBridge;
63 }
64
65 namespace gfx { 59 namespace gfx {
66 class ICCProfile; 60 class ICCProfile;
67 } 61 }
68 62
69 namespace media { 63 namespace media {
70 class KeySystemProperties; 64 class KeySystemProperties;
71 } 65 }
72 66
73 namespace service_manager { 67 namespace service_manager {
74 class InterfaceRegistry; 68 class InterfaceRegistry;
75 } 69 }
76 70
77 namespace content { 71 namespace content {
78 class BrowserPluginDelegate; 72 class BrowserPluginDelegate;
79 class MediaStreamRendererFactory; 73 class MediaStreamRendererFactory;
80 class RemoteProtoChannel;
81 class RenderFrame; 74 class RenderFrame;
82 class RenderView; 75 class RenderView;
83 76
84 // Embedder API for participating in renderer logic. 77 // Embedder API for participating in renderer logic.
85 class CONTENT_EXPORT ContentRendererClient { 78 class CONTENT_EXPORT ContentRendererClient {
86 public: 79 public:
87 virtual ~ContentRendererClient() {} 80 virtual ~ContentRendererClient() {}
88 81
89 // Notifies us that the RenderThread has been created. 82 // Notifies us that the RenderThread has been created.
90 virtual void RenderThreadStarted() {} 83 virtual void RenderThreadStarted() {}
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 // startup steps). 255 // startup steps).
263 virtual bool IsExternalPepperPlugin(const std::string& module_name); 256 virtual bool IsExternalPepperPlugin(const std::string& module_name);
264 257
265 // Returns true if the page at |url| can use Pepper MediaStream APIs. 258 // Returns true if the page at |url| can use Pepper MediaStream APIs.
266 virtual bool AllowPepperMediaStreamAPI(const GURL& url); 259 virtual bool AllowPepperMediaStreamAPI(const GURL& url);
267 260
268 // Allows an embedder to provide a MediaStreamRendererFactory. 261 // Allows an embedder to provide a MediaStreamRendererFactory.
269 virtual std::unique_ptr<MediaStreamRendererFactory> 262 virtual std::unique_ptr<MediaStreamRendererFactory>
270 CreateMediaStreamRendererFactory(); 263 CreateMediaStreamRendererFactory();
271 264
272 // Allows an embedder to provide a cc::ImageSerializationProcessor.
273 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor();
274
275 // Allows an embedder to create the cc::RemoteCompositorBridge when using
276 // remote compositing.
277 // The |remote_proto_channel| outlives the RemoteCompositorBridge.
278 virtual std::unique_ptr<cc::RemoteCompositorBridge>
279 CreateRemoteCompositorBridge(
280 RemoteProtoChannel* remote_proto_channel,
281 scoped_refptr<base::SingleThreadTaskRunner> compositor_main_task_runner);
282
283 // Allows an embedder to provide a default image decode color space. 265 // Allows an embedder to provide a default image decode color space.
284 virtual std::unique_ptr<gfx::ICCProfile> GetImageDecodeColorProfile(); 266 virtual std::unique_ptr<gfx::ICCProfile> GetImageDecodeColorProfile();
285 267
286 // Gives the embedder a chance to register the key system(s) it supports by 268 // Gives the embedder a chance to register the key system(s) it supports by
287 // populating |key_systems|. 269 // populating |key_systems|.
288 virtual void AddSupportedKeySystems( 270 virtual void AddSupportedKeySystems(
289 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems); 271 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems);
290 272
291 // Returns true if we should report a detailed message (including a stack 273 // Returns true if we should report a detailed message (including a stack
292 // trace) for console [logs|errors|exceptions]. |source| is the WebKit- 274 // trace) for console [logs|errors|exceptions]. |source| is the WebKit-
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // |params_vector| is left empty, default parameters are used. 360 // |params_vector| is left empty, default parameters are used.
379 virtual void GetTaskSchedulerInitializationParams( 361 virtual void GetTaskSchedulerInitializationParams(
380 std::vector<base::SchedulerWorkerPoolParams>* params_vector, 362 std::vector<base::SchedulerWorkerPoolParams>* params_vector,
381 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* 363 base::TaskScheduler::WorkerPoolIndexForTraitsCallback*
382 index_to_traits_callback) {} 364 index_to_traits_callback) {}
383 }; 365 };
384 366
385 } // namespace content 367 } // namespace content
386 368
387 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 369 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/renderer/BUILD.gn ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698