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 } | 34 } |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 class WebAudioDevice; | 37 class WebAudioDevice; |
38 class WebAudioLatencyHint; | 38 class WebAudioLatencyHint; |
39 class WebClipboard; | 39 class WebClipboard; |
40 class WebFrame; | 40 class WebFrame; |
41 class WebLocalFrame; | 41 class WebLocalFrame; |
42 class WebMIDIAccessor; | 42 class WebMIDIAccessor; |
43 class WebMIDIAccessorClient; | 43 class WebMIDIAccessorClient; |
| 44 class WebMediaIPH; |
44 class WebMediaStreamCenter; | 45 class WebMediaStreamCenter; |
45 class WebMediaStreamCenterClient; | 46 class WebMediaStreamCenterClient; |
46 class WebPlugin; | 47 class WebPlugin; |
47 class WebPrescientNetworking; | 48 class WebPrescientNetworking; |
48 class WebRTCPeerConnectionHandler; | 49 class WebRTCPeerConnectionHandler; |
49 class WebRTCPeerConnectionHandlerClient; | 50 class WebRTCPeerConnectionHandlerClient; |
50 class WebSpeechSynthesizer; | 51 class WebSpeechSynthesizer; |
51 class WebSpeechSynthesizerClient; | 52 class WebSpeechSynthesizerClient; |
52 class WebThemeEngine; | 53 class WebThemeEngine; |
53 class WebURL; | 54 class WebURL; |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // An empty URL is returned if the URL is not overriden. | 364 // An empty URL is returned if the URL is not overriden. |
364 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); | 365 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); |
365 | 366 |
366 // Provides parameters for initializing the global task scheduler. Default | 367 // Provides parameters for initializing the global task scheduler. Default |
367 // params are used if this returns nullptr. | 368 // params are used if this returns nullptr. |
368 virtual std::unique_ptr<base::TaskScheduler::InitParams> | 369 virtual std::unique_ptr<base::TaskScheduler::InitParams> |
369 GetTaskSchedulerInitParams(); | 370 GetTaskSchedulerInitParams(); |
370 | 371 |
371 // Returns true if the media pipeline can be suspended, or false otherwise. | 372 // Returns true if the media pipeline can be suspended, or false otherwise. |
372 virtual bool AllowMediaSuspend(); | 373 virtual bool AllowMediaSuspend(); |
| 374 |
| 375 virtual std::unique_ptr<blink::WebMediaIPH> CreateWebMediaIPH( |
| 376 content::RenderFrame* render_frame); |
373 }; | 377 }; |
374 | 378 |
375 } // namespace content | 379 } // namespace content |
376 | 380 |
377 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 381 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |