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

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

Issue 2494623002: cc: Remove client/engine LayerTreeHostInProcess. (Closed)
Patch Set: .. 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 | « 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class WebURLResponse; 51 class WebURLResponse;
52 class WebURLRequest; 52 class WebURLRequest;
53 class WebWorkerContentSettingsClientProxy; 53 class WebWorkerContentSettingsClientProxy;
54 struct WebPluginParams; 54 struct WebPluginParams;
55 struct WebURLError; 55 struct WebURLError;
56 } 56 }
57 57
58 namespace cc { 58 namespace cc {
59 class ImageSerializationProcessor; 59 class ImageSerializationProcessor;
60 class RemoteCompositorBridge; 60 class RemoteCompositorBridge;
61 class RemoteProtoChannel;
62 } 61 }
63 62
64 namespace gfx { 63 namespace gfx {
65 class ICCProfile; 64 class ICCProfile;
66 } 65 }
67 66
68 namespace media { 67 namespace media {
69 class KeySystemProperties; 68 class KeySystemProperties;
70 class RendererFactory; 69 class RendererFactory;
71 } 70 }
72 71
73 namespace service_manager { 72 namespace service_manager {
74 class InterfaceRegistry; 73 class InterfaceRegistry;
75 } 74 }
76 75
77 namespace content { 76 namespace content {
78 class BrowserPluginDelegate; 77 class BrowserPluginDelegate;
79 class MediaStreamRendererFactory; 78 class MediaStreamRendererFactory;
79 class RemoteProtoChannel;
80 class RenderFrame; 80 class RenderFrame;
81 class RenderView; 81 class RenderView;
82 82
83 // Embedder API for participating in renderer logic. 83 // Embedder API for participating in renderer logic.
84 class CONTENT_EXPORT ContentRendererClient { 84 class CONTENT_EXPORT ContentRendererClient {
85 public: 85 public:
86 virtual ~ContentRendererClient() {} 86 virtual ~ContentRendererClient() {}
87 87
88 // Notifies us that the RenderThread has been created. 88 // Notifies us that the RenderThread has been created.
89 virtual void RenderThreadStarted() {} 89 virtual void RenderThreadStarted() {}
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 CreateMediaStreamRendererFactory(); 269 CreateMediaStreamRendererFactory();
270 270
271 // Allows an embedder to provide a cc::ImageSerializationProcessor. 271 // Allows an embedder to provide a cc::ImageSerializationProcessor.
272 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor(); 272 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor();
273 273
274 // Allows an embedder to create the cc::RemoteCompositorBridge when using 274 // Allows an embedder to create the cc::RemoteCompositorBridge when using
275 // remote compositing. 275 // remote compositing.
276 // The |remote_proto_channel| outlives the RemoteCompositorBridge. 276 // The |remote_proto_channel| outlives the RemoteCompositorBridge.
277 virtual std::unique_ptr<cc::RemoteCompositorBridge> 277 virtual std::unique_ptr<cc::RemoteCompositorBridge>
278 CreateRemoteCompositorBridge( 278 CreateRemoteCompositorBridge(
279 cc::RemoteProtoChannel* remote_proto_channel, 279 RemoteProtoChannel* remote_proto_channel,
280 scoped_refptr<base::SingleThreadTaskRunner> compositor_main_task_runner); 280 scoped_refptr<base::SingleThreadTaskRunner> compositor_main_task_runner);
281 281
282 // Allows an embedder to provide a default image decode color space. 282 // Allows an embedder to provide a default image decode color space.
283 virtual std::unique_ptr<gfx::ICCProfile> GetImageDecodeColorProfile(); 283 virtual std::unique_ptr<gfx::ICCProfile> GetImageDecodeColorProfile();
284 284
285 // Gives the embedder a chance to register the key system(s) it supports by 285 // Gives the embedder a chance to register the key system(s) it supports by
286 // populating |key_systems|. 286 // populating |key_systems|.
287 virtual void AddSupportedKeySystems( 287 virtual void AddSupportedKeySystems(
288 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems); 288 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems);
289 289
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 service_manager::InterfaceRegistry* interface_registry) {} 370 service_manager::InterfaceRegistry* interface_registry) {}
371 371
372 // Overwrites the given URL to use an HTML5 embed if possible. 372 // Overwrites the given URL to use an HTML5 embed if possible.
373 // An empty URL is returned if the URL is not overriden. 373 // An empty URL is returned if the URL is not overriden.
374 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); 374 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
375 }; 375 };
376 376
377 } // namespace content 377 } // namespace content
378 378
379 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 379 #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