| OLD | NEW |
| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 class ICCProfile; | 64 class ICCProfile; |
| 65 } | 65 } |
| 66 | 66 |
| 67 namespace media { | 67 namespace media { |
| 68 class GpuVideoAcceleratorFactories; | 68 class GpuVideoAcceleratorFactories; |
| 69 class KeySystemProperties; | 69 class KeySystemProperties; |
| 70 class MediaLog; | 70 class MediaLog; |
| 71 class RendererFactory; | 71 class RendererFactory; |
| 72 } | 72 } |
| 73 | 73 |
| 74 namespace shell { | 74 namespace service_manager { |
| 75 class InterfaceRegistry; | 75 class InterfaceRegistry; |
| 76 } | 76 } |
| 77 | 77 |
| 78 namespace content { | 78 namespace content { |
| 79 class BrowserPluginDelegate; | 79 class BrowserPluginDelegate; |
| 80 class DocumentState; | 80 class DocumentState; |
| 81 class MediaStreamRendererFactory; | 81 class MediaStreamRendererFactory; |
| 82 class RenderFrame; | 82 class RenderFrame; |
| 83 class RenderView; | 83 class RenderView; |
| 84 class SynchronousCompositor; | 84 class SynchronousCompositor; |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 virtual bool ShouldEnforceWebRTCRoutingPreferences(); | 361 virtual bool ShouldEnforceWebRTCRoutingPreferences(); |
| 362 | 362 |
| 363 // Notifies that a worker context has been created. This function is called | 363 // Notifies that a worker context has been created. This function is called |
| 364 // from the worker thread. | 364 // from the worker thread. |
| 365 virtual void DidInitializeWorkerContextOnWorkerThread( | 365 virtual void DidInitializeWorkerContextOnWorkerThread( |
| 366 v8::Local<v8::Context> context) {} | 366 v8::Local<v8::Context> context) {} |
| 367 | 367 |
| 368 // Allows the client to expose interfaces from the renderer process to the | 368 // Allows the client to expose interfaces from the renderer process to the |
| 369 // browser process via |registry|. | 369 // browser process via |registry|. |
| 370 virtual void ExposeInterfacesToBrowser( | 370 virtual void ExposeInterfacesToBrowser( |
| 371 shell::InterfaceRegistry* interface_registry) {} | 371 service_manager::InterfaceRegistry* interface_registry) {} |
| 372 | 372 |
| 373 // Overwrites the given URL to use an HTML5 embed if possible. | 373 // Overwrites the given URL to use an HTML5 embed if possible. |
| 374 // An empty URL is returned if the URL is not overriden. | 374 // An empty URL is returned if the URL is not overriden. |
| 375 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); | 375 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); |
| 376 }; | 376 }; |
| 377 | 377 |
| 378 } // namespace content | 378 } // namespace content |
| 379 | 379 |
| 380 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 380 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |