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/media/webmediaplayer_ms.h

Issue 2358903002: Change WebMediaPlayerMS layers transparency dynamically (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_ms.cc » ('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 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_MEDIA_WEBMEDIAPLAYER_MS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 const base::WeakPtr<media::WebMediaPlayerDelegate> delegate_; 195 const base::WeakPtr<media::WebMediaPlayerDelegate> delegate_;
196 int delegate_id_; 196 int delegate_id_;
197 197
198 scoped_refptr<MediaStreamVideoRenderer> video_frame_provider_; // Weak 198 scoped_refptr<MediaStreamVideoRenderer> video_frame_provider_; // Weak
199 199
200 std::unique_ptr<cc_blink::WebLayerImpl> video_weblayer_; 200 std::unique_ptr<cc_blink::WebLayerImpl> video_weblayer_;
201 201
202 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; // Weak 202 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; // Weak
203 media::SkCanvasVideoRenderer video_renderer_; 203 media::SkCanvasVideoRenderer video_renderer_;
204 204
205 bool last_frame_opaque_;
205 bool paused_; 206 bool paused_;
206 bool render_frame_suspended_; 207 bool render_frame_suspended_;
207 bool received_first_frame_; 208 bool received_first_frame_;
208 media::VideoRotation video_rotation_; 209 media::VideoRotation video_rotation_;
209 210
210 scoped_refptr<media::MediaLog> media_log_; 211 scoped_refptr<media::MediaLog> media_log_;
211 212
212 std::unique_ptr<MediaStreamRendererFactory> renderer_factory_; 213 std::unique_ptr<MediaStreamRendererFactory> renderer_factory_;
213 214
214 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; 215 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_;
(...skipping 22 matching lines...) Expand all
237 // True if playback should be started upon the next call to OnShown(). Only 238 // True if playback should be started upon the next call to OnShown(). Only
238 // used on Android. 239 // used on Android.
239 bool should_play_upon_shown_; 240 bool should_play_upon_shown_;
240 241
241 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); 242 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS);
242 }; 243 };
243 244
244 } // namespace content 245 } // namespace content
245 246
246 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 247 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698