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 23 matching lines...) Expand all Loading... |
34 namespace blink { | 34 namespace blink { |
35 class WebAudioDevice; | 35 class WebAudioDevice; |
36 class WebClipboard; | 36 class WebClipboard; |
37 class WebFrame; | 37 class WebFrame; |
38 class WebLocalFrame; | 38 class WebLocalFrame; |
39 class WebMIDIAccessor; | 39 class WebMIDIAccessor; |
40 class WebMIDIAccessorClient; | 40 class WebMIDIAccessorClient; |
41 class WebMediaStreamCenter; | 41 class WebMediaStreamCenter; |
42 class WebMediaStreamCenterClient; | 42 class WebMediaStreamCenterClient; |
43 class WebPlugin; | 43 class WebPlugin; |
44 class WebPluginContainer; | |
45 class WebPrescientNetworking; | 44 class WebPrescientNetworking; |
46 class WebRTCPeerConnectionHandler; | 45 class WebRTCPeerConnectionHandler; |
47 class WebRTCPeerConnectionHandlerClient; | 46 class WebRTCPeerConnectionHandlerClient; |
48 class WebSpeechSynthesizer; | 47 class WebSpeechSynthesizer; |
49 class WebSpeechSynthesizerClient; | 48 class WebSpeechSynthesizerClient; |
50 class WebThemeEngine; | 49 class WebThemeEngine; |
51 class WebURL; | 50 class WebURL; |
52 class WebURLResponse; | 51 class WebURLResponse; |
53 class WebURLRequest; | 52 class WebURLRequest; |
54 class WebWorkerContentSettingsClientProxy; | 53 class WebWorkerContentSettingsClientProxy; |
55 struct WebPluginParams; | 54 struct WebPluginParams; |
56 struct WebURLError; | 55 struct WebURLError; |
57 } | 56 } |
58 | 57 |
59 namespace cc { | 58 namespace cc { |
60 class ImageSerializationProcessor; | 59 class ImageSerializationProcessor; |
61 class RemoteCompositorBridge; | 60 class RemoteCompositorBridge; |
62 class RemoteProtoChannel; | 61 class RemoteProtoChannel; |
63 } | 62 } |
64 | 63 |
65 namespace gfx { | 64 namespace gfx { |
66 class ICCProfile; | 65 class ICCProfile; |
67 } | 66 } |
68 | 67 |
69 namespace media { | 68 namespace media { |
70 class GpuVideoAcceleratorFactories; | |
71 class KeySystemProperties; | 69 class KeySystemProperties; |
72 class MediaLog; | |
73 class RendererFactory; | 70 class RendererFactory; |
74 } | 71 } |
75 | 72 |
76 namespace service_manager { | 73 namespace service_manager { |
77 class InterfaceRegistry; | 74 class InterfaceRegistry; |
78 } | 75 } |
79 | 76 |
80 namespace content { | 77 namespace content { |
81 class BrowserPluginDelegate; | 78 class BrowserPluginDelegate; |
82 class DocumentState; | |
83 class MediaStreamRendererFactory; | 79 class MediaStreamRendererFactory; |
84 class RenderFrame; | 80 class RenderFrame; |
85 class RenderView; | 81 class RenderView; |
86 class SynchronousCompositor; | |
87 struct WebPluginInfo; | |
88 | 82 |
89 // Embedder API for participating in renderer logic. | 83 // Embedder API for participating in renderer logic. |
90 class CONTENT_EXPORT ContentRendererClient { | 84 class CONTENT_EXPORT ContentRendererClient { |
91 public: | 85 public: |
92 virtual ~ContentRendererClient() {} | 86 virtual ~ContentRendererClient() {} |
93 | 87 |
94 // Notifies us that the RenderThread has been created. | 88 // Notifies us that the RenderThread has been created. |
95 virtual void RenderThreadStarted() {} | 89 virtual void RenderThreadStarted() {} |
96 | 90 |
97 // Notifies that a new RenderFrame has been created. | 91 // Notifies that a new RenderFrame has been created. |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 service_manager::InterfaceRegistry* interface_registry) {} | 370 service_manager::InterfaceRegistry* interface_registry) {} |
377 | 371 |
378 // Overwrites the given URL to use an HTML5 embed if possible. | 372 // Overwrites the given URL to use an HTML5 embed if possible. |
379 // An empty URL is returned if the URL is not overriden. | 373 // An empty URL is returned if the URL is not overriden. |
380 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); | 374 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); |
381 }; | 375 }; |
382 | 376 |
383 } // namespace content | 377 } // namespace content |
384 | 378 |
385 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 379 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |