OLD | NEW |
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_H_ | 7 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_ |
8 #define MEDIA_BLINK_WEBMEDIAPLAYER_CAST_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; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 // Make a texture-backed video of the given size containing the given message. | 146 // Make a texture-backed video of the given size containing the given message. |
147 MEDIA_BLINK_EXPORT scoped_refptr<VideoFrame> MakeTextFrameForCast( | 147 MEDIA_BLINK_EXPORT scoped_refptr<VideoFrame> MakeTextFrameForCast( |
148 const std::string& remote_playback_message, | 148 const std::string& remote_playback_message, |
149 gfx::Size canvas_size, | 149 gfx::Size canvas_size, |
150 gfx::Size natural_size, | 150 gfx::Size natural_size, |
151 const base::Callback<gpu::gles2::GLES2Interface*()>& context_3d_cb); | 151 const base::Callback<gpu::gles2::GLES2Interface*()>& context_3d_cb); |
152 | 152 |
153 } // namespace media | 153 } // namespace media |
154 | 154 |
155 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_CAST_H_ | 155 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_CAST_ANDROID_H_ |
OLD | NEW |