| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 370 |
| 371 // blink::WebFrameClient implementation: | 371 // blink::WebFrameClient implementation: |
| 372 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, | 372 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, |
| 373 const blink::WebPluginParams& params); | 373 const blink::WebPluginParams& params); |
| 374 virtual blink::WebMediaPlayer* createMediaPlayer( | 374 virtual blink::WebMediaPlayer* createMediaPlayer( |
| 375 blink::WebLocalFrame* frame, | 375 blink::WebLocalFrame* frame, |
| 376 const blink::WebURL& url, | 376 const blink::WebURL& url, |
| 377 blink::WebMediaPlayerClient* client, | 377 blink::WebMediaPlayerClient* client, |
| 378 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 378 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
| 379 blink::WebContentDecryptionModule* initial_cdm); | 379 blink::WebContentDecryptionModule* initial_cdm); |
| 380 blink::WebMediaSession* createMediaSession( |
| 381 blink::WebLocalFrame* frame) override; |
| 380 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( | 382 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( |
| 381 blink::WebLocalFrame* frame, | 383 blink::WebLocalFrame* frame, |
| 382 blink::WebApplicationCacheHostClient* client); | 384 blink::WebApplicationCacheHostClient* client); |
| 383 virtual blink::WebWorkerContentSettingsClientProxy* | 385 virtual blink::WebWorkerContentSettingsClientProxy* |
| 384 createWorkerContentSettingsClientProxy(blink::WebLocalFrame* frame); | 386 createWorkerContentSettingsClientProxy(blink::WebLocalFrame* frame); |
| 385 virtual blink::WebExternalPopupMenu* createExternalPopupMenu( | 387 virtual blink::WebExternalPopupMenu* createExternalPopupMenu( |
| 386 const blink::WebPopupMenuInfo& popup_menu_info, | 388 const blink::WebPopupMenuInfo& popup_menu_info, |
| 387 blink::WebExternalPopupMenuClient* popup_menu_client); | 389 blink::WebExternalPopupMenuClient* popup_menu_client); |
| 388 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); | 390 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); |
| 389 virtual blink::WebServiceWorkerProvider* createServiceWorkerProvider( | 391 virtual blink::WebServiceWorkerProvider* createServiceWorkerProvider( |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 835 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
| 834 blink::WebMediaPlayerClient* client, | 836 blink::WebMediaPlayerClient* client, |
| 835 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 837 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
| 836 const media::WebMediaPlayerParams& params); | 838 const media::WebMediaPlayerParams& params); |
| 837 | 839 |
| 838 RendererMediaPlayerManager* GetMediaPlayerManager(); | 840 RendererMediaPlayerManager* GetMediaPlayerManager(); |
| 839 #endif | 841 #endif |
| 840 | 842 |
| 841 bool AreSecureCodecsSupported(); | 843 bool AreSecureCodecsSupported(); |
| 842 | 844 |
| 845 blink::WebMediaSession* CreateAndroidWebMediaSession(); |
| 846 |
| 843 media::MediaPermission* GetMediaPermission(); | 847 media::MediaPermission* GetMediaPermission(); |
| 844 | 848 |
| 845 #if defined(ENABLE_MOJO_MEDIA) | 849 #if defined(ENABLE_MOJO_MEDIA) |
| 846 media::interfaces::ServiceFactory* GetMediaServiceFactory(); | 850 media::interfaces::ServiceFactory* GetMediaServiceFactory(); |
| 847 | 851 |
| 848 // Called when a connection error happened on |media_service_factory_|. | 852 // Called when a connection error happened on |media_service_factory_|. |
| 849 void OnMediaServiceFactoryConnectionError(); | 853 void OnMediaServiceFactoryConnectionError(); |
| 850 #endif | 854 #endif |
| 851 | 855 |
| 852 media::CdmFactory* GetCdmFactory(); | 856 media::CdmFactory* GetCdmFactory(); |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1049 #endif | 1053 #endif |
| 1050 | 1054 |
| 1051 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1055 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1052 | 1056 |
| 1053 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1057 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1054 }; | 1058 }; |
| 1055 | 1059 |
| 1056 } // namespace content | 1060 } // namespace content |
| 1057 | 1061 |
| 1058 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1062 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |