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

Side by Side Diff: media/blink/webmediaplayer_cast_android.h

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « media/blink/webencryptedmediaclient_impl.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // Delete this file when WMPI_CAST is no longer needed. 5 // Delete this file when WMPI_CAST is no longer needed.
6 6
7 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_ 7 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_
8 #define MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_ 8 #define MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "media/blink/media_blink_export.h" 11 #include "media/blink/media_blink_export.h"
12 #include "media/blink/renderer_media_player_interface.h" 12 #include "media/blink/renderer_media_player_interface.h"
13 #include "media/blink/webmediaplayer_params.h" 13 #include "media/blink/webmediaplayer_params.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace blink { 16 namespace blink {
17 class WebLocalFrame; 17 class WebLocalFrame;
18 class WebMediaPlayerClient; 18 class WebMediaPlayerClient;
19 class WebURL; 19 class WebURL;
20 } 20 }
21 21
22 namespace media { 22 namespace media {
23 23
24 class VideoFrame; 24 class VideoFrame;
25 class WebMediaPlayerDelegate;
26 class WebMediaPlayerImpl; 25 class WebMediaPlayerImpl;
27 26
28 // This shim allows WebMediaPlayer to act sufficiently similar to 27 // This shim allows WebMediaPlayer to act sufficiently similar to
29 // WebMediaPlayerAndroid (by extending RendererMediaPlayerInterface) 28 // WebMediaPlayerAndroid (by extending RendererMediaPlayerInterface)
30 // to implement cast functionality. 29 // to implement cast functionality.
31 class WebMediaPlayerCast : public RendererMediaPlayerInterface { 30 class WebMediaPlayerCast : public RendererMediaPlayerInterface {
32 public: 31 public:
33 WebMediaPlayerCast(WebMediaPlayerImpl* impl, 32 WebMediaPlayerCast(WebMediaPlayerImpl* impl,
34 blink::WebMediaPlayerClient* client, 33 blink::WebMediaPlayerClient* client,
35 const WebMediaPlayerParams::Context3DCB& context_3d_cb); 34 const WebMediaPlayerParams::Context3DCB& context_3d_cb);
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Make a texture-backed video of the given size containing the given message. 137 // Make a texture-backed video of the given size containing the given message.
139 MEDIA_BLINK_EXPORT scoped_refptr<VideoFrame> MakeTextFrameForCast( 138 MEDIA_BLINK_EXPORT scoped_refptr<VideoFrame> MakeTextFrameForCast(
140 const std::string& remote_playback_message, 139 const std::string& remote_playback_message,
141 gfx::Size canvas_size, 140 gfx::Size canvas_size,
142 gfx::Size natural_size, 141 gfx::Size natural_size,
143 const base::Callback<gpu::gles2::GLES2Interface*()>& context_3d_cb); 142 const base::Callback<gpu::gles2::GLES2Interface*()>& context_3d_cb);
144 143
145 } // namespace media 144 } // namespace media
146 145
147 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_ 146 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_
OLDNEW
« no previous file with comments | « media/blink/webencryptedmediaclient_impl.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698