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

Side by Side Diff: webkit/media/webmediaplayer_ms.h

Issue 11198055: Fix media stream playback event as media element. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/media/webmediaplayer_ms.cc » ('j') | webkit/media/webmediaplayer_ms.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_MEDIA_WEBMEDIAPLAYER_MS_H_ 5 #ifndef WEBKIT_MEDIA_WEBMEDIAPLAYER_MS_H_
6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_MS_H_ 6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_MS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 // Used for DCHECKs to ensure methods calls executed in the correct thread. 144 // Used for DCHECKs to ensure methods calls executed in the correct thread.
145 base::ThreadChecker thread_checker_; 145 base::ThreadChecker thread_checker_;
146 146
147 WebKit::WebMediaPlayerClient* client_; 147 WebKit::WebMediaPlayerClient* client_;
148 148
149 base::WeakPtr<WebMediaPlayerDelegate> delegate_; 149 base::WeakPtr<WebMediaPlayerDelegate> delegate_;
150 150
151 MediaStreamClient* media_stream_client_; 151 MediaStreamClient* media_stream_client_;
152 scoped_refptr<VideoFrameProvider> video_frame_provider_; 152 scoped_refptr<VideoFrameProvider> video_frame_provider_;
153 bool video_frame_provider_started_;
154 bool paused_; 153 bool paused_;
155 scoped_refptr<media::VideoFrame> current_frame_; 154 scoped_refptr<media::VideoFrame> current_frame_;
156 bool pending_repaint_; 155 bool pending_repaint_;
157 bool got_first_frame_; 156 bool got_first_frame_;
158 base::TimeDelta start_time_; 157 base::TimeDelta start_time_;
159 unsigned total_frame_count_; 158 unsigned total_frame_count_;
160 unsigned dropped_frame_count_; 159 unsigned dropped_frame_count_;
161 SkCanvasVideoRenderer video_renderer_; 160 SkCanvasVideoRenderer video_renderer_;
162 161
163 scoped_refptr<media::MediaLog> media_log_; 162 scoped_refptr<media::MediaLog> media_log_;
164 163
165 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); 164 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS);
166 }; 165 };
167 166
168 } // namespace webkit_media 167 } // namespace webkit_media
169 168
170 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_MS_H_ 169 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_MS_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/media/webmediaplayer_ms.cc » ('j') | webkit/media/webmediaplayer_ms.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698