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

Side by Side Diff: webkit/glue/webmediaplayer_impl.h

Issue 160076: BufferedDataSource to support server without range request support... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « webkit/glue/media/simple_data_source.cc ('k') | webkit/glue/webmediaplayer_impl.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 (c) 2008-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 // 4 //
5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player.
6 // It contains PipelineImpl which is the actual media player pipeline, it glues 6 // It contains PipelineImpl which is the actual media player pipeline, it glues
7 // the media player pipeline, data source, audio renderer and renderer. 7 // the media player pipeline, data source, audio renderer and renderer.
8 // PipelineImpl would creates multiple threads and access some public methods 8 // PipelineImpl would creates multiple threads and access some public methods
9 // of this class, so we need to be extra careful about concurrent access of 9 // of this class, so we need to be extra careful about concurrent access of
10 // methods and members. 10 // methods and members.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 virtual WebKit::WebMediaPlayer::NetworkState networkState() const { 194 virtual WebKit::WebMediaPlayer::NetworkState networkState() const {
195 return network_state_; 195 return network_state_;
196 } 196 }
197 virtual WebKit::WebMediaPlayer::ReadyState readyState() const { 197 virtual WebKit::WebMediaPlayer::ReadyState readyState() const {
198 return ready_state_; 198 return ready_state_;
199 } 199 }
200 200
201 virtual unsigned long long bytesLoaded() const; 201 virtual unsigned long long bytesLoaded() const;
202 virtual unsigned long long totalBytes() const; 202 virtual unsigned long long totalBytes() const;
203 203
204 virtual bool hasSingleSecurityOrigin() const;
205 virtual WebKit::WebMediaPlayer::MovieLoadType movieLoadType() const;
206
204 // As we are closing the tab or even the browser, |main_loop_| is destroyed 207 // As we are closing the tab or even the browser, |main_loop_| is destroyed
205 // even before this object gets destructed, so we need to know when 208 // even before this object gets destructed, so we need to know when
206 // |main_loop_| is being destroyed and we can stop posting repaint task 209 // |main_loop_| is being destroyed and we can stop posting repaint task
207 // to it. 210 // to it.
208 virtual void WillDestroyCurrentMessageLoop(); 211 virtual void WillDestroyCurrentMessageLoop();
209 212
210 void Repaint(); 213 void Repaint();
211 214
212 void OnPipelineInitialize(); 215 void OnPipelineInitialize();
213 216
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 WebKit::WebMediaPlayerClient* client_; 255 WebKit::WebMediaPlayerClient* client_;
253 256
254 scoped_refptr<Proxy> proxy_; 257 scoped_refptr<Proxy> proxy_;
255 258
256 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 259 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
257 }; 260 };
258 261
259 } // namespace webkit_glue 262 } // namespace webkit_glue
260 263
261 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ 264 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/media/simple_data_source.cc ('k') | webkit/glue/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698