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

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

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 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/gpu/content_gpu_client.h ('k') | content/public/renderer/render_frame.h » ('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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class ImageSerializationProcessor; 60 class ImageSerializationProcessor;
61 } 61 }
62 62
63 namespace media { 63 namespace media {
64 class GpuVideoAcceleratorFactories; 64 class GpuVideoAcceleratorFactories;
65 class KeySystemProperties; 65 class KeySystemProperties;
66 class MediaLog; 66 class MediaLog;
67 class RendererFactory; 67 class RendererFactory;
68 } 68 }
69 69
70 namespace shell {
71 class InterfaceRegistry;
72 }
73
70 namespace content { 74 namespace content {
71 class BrowserPluginDelegate; 75 class BrowserPluginDelegate;
72 class DocumentState; 76 class DocumentState;
73 class MediaStreamRendererFactory; 77 class MediaStreamRendererFactory;
74 class RenderFrame; 78 class RenderFrame;
75 class RenderView; 79 class RenderView;
76 class ServiceRegistry;
77 class SynchronousCompositor; 80 class SynchronousCompositor;
78 struct WebPluginInfo; 81 struct WebPluginInfo;
79 82
80 // Embedder API for participating in renderer logic. 83 // Embedder API for participating in renderer logic.
81 class CONTENT_EXPORT ContentRendererClient { 84 class CONTENT_EXPORT ContentRendererClient {
82 public: 85 public:
83 virtual ~ContentRendererClient() {} 86 virtual ~ContentRendererClient() {}
84 87
85 // Notifies us that the RenderThread has been created. 88 // Notifies us that the RenderThread has been created.
86 virtual void RenderThreadStarted() {} 89 virtual void RenderThreadStarted() {}
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 348
346 // Whether this renderer should enforce preferences related to the WebRTC 349 // Whether this renderer should enforce preferences related to the WebRTC
347 // routing logic, i.e. allowing multiple routes and non-proxied UDP. 350 // routing logic, i.e. allowing multiple routes and non-proxied UDP.
348 virtual bool ShouldEnforceWebRTCRoutingPreferences(); 351 virtual bool ShouldEnforceWebRTCRoutingPreferences();
349 352
350 // Notifies that a worker context has been created. This function is called 353 // Notifies that a worker context has been created. This function is called
351 // from the worker thread. 354 // from the worker thread.
352 virtual void DidInitializeWorkerContextOnWorkerThread( 355 virtual void DidInitializeWorkerContextOnWorkerThread(
353 v8::Local<v8::Context> context) {} 356 v8::Local<v8::Context> context) {}
354 357
355 // Adds service factories to the process-wide ServiceRegistry the host is 358 // Adds interface factories to the process-wide shell::InterfaceRegistry the
356 // connected to. 359 // browser is connected to.
357 virtual void RegisterProcessMojoServices(ServiceRegistry* service_registry) {} 360 virtual void RegisterProcessMojoInterfaces(
361 shell::InterfaceRegistry* interface_registry) {}
358 }; 362 };
359 363
360 } // namespace content 364 } // namespace content
361 365
362 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 366 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/gpu/content_gpu_client.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698