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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2387293007: Register MediaPlayerRenderer service (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 21 matching lines...) Expand all
32 #include "content/public/common/referrer.h" 32 #include "content/public/common/referrer.h"
33 #include "content/public/common/stop_find_action.h" 33 #include "content/public/common/stop_find_action.h"
34 #include "content/public/renderer/render_frame.h" 34 #include "content/public/renderer/render_frame.h"
35 #include "content/renderer/frame_blame_context.h" 35 #include "content/renderer/frame_blame_context.h"
36 #include "content/renderer/mojo/blink_interface_provider_impl.h" 36 #include "content/renderer/mojo/blink_interface_provider_impl.h"
37 #include "content/renderer/renderer_webcookiejar_impl.h" 37 #include "content/renderer/renderer_webcookiejar_impl.h"
38 #include "ipc/ipc_message.h" 38 #include "ipc/ipc_message.h"
39 #include "ipc/ipc_platform_file.h" 39 #include "ipc/ipc_platform_file.h"
40 #include "media/blink/webmediaplayer_delegate.h" 40 #include "media/blink/webmediaplayer_delegate.h"
41 #include "media/blink/webmediaplayer_params.h" 41 #include "media/blink/webmediaplayer_params.h"
42 #include "media/media_features.h"
42 #include "media/mojo/interfaces/remoting.mojom.h" 43 #include "media/mojo/interfaces/remoting.mojom.h"
43 #include "mojo/public/cpp/bindings/binding.h" 44 #include "mojo/public/cpp/bindings/binding.h"
44 #include "services/shell/public/interfaces/connector.mojom.h" 45 #include "services/shell/public/interfaces/connector.mojom.h"
45 #include "services/shell/public/interfaces/interface_provider.mojom.h" 46 #include "services/shell/public/interfaces/interface_provider.mojom.h"
46 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" 47 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h"
47 #include "third_party/WebKit/public/platform/WebFocusType.h" 48 #include "third_party/WebKit/public/platform/WebFocusType.h"
48 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" 49 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
49 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 50 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
50 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" 51 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
51 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h" 52 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h"
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( 1012 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer(
1012 blink::WebMediaPlayerClient* client, 1013 blink::WebMediaPlayerClient* client,
1013 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, 1014 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
1014 const media::WebMediaPlayerParams& params); 1015 const media::WebMediaPlayerParams& params);
1015 1016
1016 RendererMediaPlayerManager* GetMediaPlayerManager(); 1017 RendererMediaPlayerManager* GetMediaPlayerManager();
1017 1018
1018 RendererMediaSessionManager* GetMediaSessionManager(); 1019 RendererMediaSessionManager* GetMediaSessionManager();
1019 #endif 1020 #endif
1020 1021
1022 #if BUILDFLAG(ENABLE_MOJO_MEDIA_PLAYER_RENDERER)
1023 blink::WebMediaPlayer* CreateMojoMediaPlayerRenderer(
1024 blink::WebMediaPlayerClient* client,
1025 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client,
1026 blink::WebURL url,
1027 const media::WebMediaPlayerParams& params);
1028 #endif
1029
1021 bool AreSecureCodecsSupported(); 1030 bool AreSecureCodecsSupported();
1022 1031
1023 #if defined(ENABLE_MOJO_MEDIA) 1032 #if defined(ENABLE_MOJO_MEDIA)
1024 shell::mojom::InterfaceProvider* GetMediaInterfaceProvider(); 1033 shell::mojom::InterfaceProvider* GetMediaInterfaceProvider();
1025 #endif 1034 #endif
1026 1035
1027 media::mojom::RemoterFactory* GetRemoterFactory(); 1036 media::mojom::RemoterFactory* GetRemoterFactory();
1028 media::CdmFactory* GetCdmFactory(); 1037 media::CdmFactory* GetCdmFactory();
1029 media::DecoderFactory* GetDecoderFactory(); 1038 media::DecoderFactory* GetDecoderFactory();
1030 1039
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 remote_associated_interfaces_; 1307 remote_associated_interfaces_;
1299 1308
1300 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1309 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1301 1310
1302 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1311 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1303 }; 1312 };
1304 1313
1305 } // namespace content 1314 } // namespace content
1306 1315
1307 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1316 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698