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

Side by Side Diff: content/renderer/media/webmediaplayer_ms.h

Issue 2348903003: Change WebMediaPlayerMS layers transparency dynamically (Closed)
Patch Set: mcasas@ comments. 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 const base::WeakPtr<media::WebMediaPlayerDelegate> delegate_; 194 const base::WeakPtr<media::WebMediaPlayerDelegate> delegate_;
195 int delegate_id_; 195 int delegate_id_;
196 196
197 scoped_refptr<MediaStreamVideoRenderer> video_frame_provider_; // Weak 197 scoped_refptr<MediaStreamVideoRenderer> video_frame_provider_; // Weak
198 198
199 std::unique_ptr<cc_blink::WebLayerImpl> video_weblayer_; 199 std::unique_ptr<cc_blink::WebLayerImpl> video_weblayer_;
200 200
201 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; // Weak 201 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; // Weak
202 media::SkCanvasVideoRenderer video_renderer_; 202 media::SkCanvasVideoRenderer video_renderer_;
203 203
204 bool last_frame_opaque_;
204 bool paused_; 205 bool paused_;
205 bool render_frame_suspended_; 206 bool render_frame_suspended_;
206 bool received_first_frame_; 207 bool received_first_frame_;
207 media::VideoRotation video_rotation_; 208 media::VideoRotation video_rotation_;
208 209
209 scoped_refptr<media::MediaLog> media_log_; 210 scoped_refptr<media::MediaLog> media_log_;
210 211
211 std::unique_ptr<MediaStreamRendererFactory> renderer_factory_; 212 std::unique_ptr<MediaStreamRendererFactory> renderer_factory_;
212 213
213 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; 214 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_;
(...skipping 22 matching lines...) Expand all
236 // True if playback should be started upon the next call to OnShown(). Only 237 // True if playback should be started upon the next call to OnShown(). Only
237 // used on Android. 238 // used on Android.
238 bool should_play_upon_shown_; 239 bool should_play_upon_shown_;
239 240
240 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); 241 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS);
241 }; 242 };
242 243
243 } // namespace content 244 } // namespace content
244 245
245 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 246 #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