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

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

Issue 10823260: Re-add sourceSetTimestampOffset to webmediaplayer_impl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | webkit/media/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) 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 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player.
6 // It contains Pipeline which is the actual media player pipeline, it glues 6 // It contains Pipeline 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 // Pipeline would creates multiple threads and access some public methods 8 // Pipeline 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 const WebKit::WebString& id, 192 const WebKit::WebString& id,
193 const WebKit::WebString& type, 193 const WebKit::WebString& type,
194 const WebKit::WebVector<WebKit::WebString>& codecs); 194 const WebKit::WebVector<WebKit::WebString>& codecs);
195 virtual bool sourceRemoveId(const WebKit::WebString& id); 195 virtual bool sourceRemoveId(const WebKit::WebString& id);
196 virtual WebKit::WebTimeRanges sourceBuffered(const WebKit::WebString& id); 196 virtual WebKit::WebTimeRanges sourceBuffered(const WebKit::WebString& id);
197 virtual bool sourceAppend(const WebKit::WebString& id, 197 virtual bool sourceAppend(const WebKit::WebString& id,
198 const unsigned char* data, 198 const unsigned char* data,
199 unsigned length); 199 unsigned length);
200 virtual bool sourceAbort(const WebKit::WebString& id); 200 virtual bool sourceAbort(const WebKit::WebString& id);
201 virtual void sourceEndOfStream(EndOfStreamStatus status); 201 virtual void sourceEndOfStream(EndOfStreamStatus status);
202 virtual bool sourceSetTimestampOffset(const WebKit::WebString& id,
203 double offset);
202 204
203 virtual MediaKeyException generateKeyRequest( 205 virtual MediaKeyException generateKeyRequest(
204 const WebKit::WebString& key_system, 206 const WebKit::WebString& key_system,
205 const unsigned char* init_data, 207 const unsigned char* init_data,
206 unsigned init_data_length); 208 unsigned init_data_length);
207 209
208 virtual MediaKeyException addKey(const WebKit::WebString& key_system, 210 virtual MediaKeyException addKey(const WebKit::WebString& key_system,
209 const unsigned char* key, 211 const unsigned char* key,
210 unsigned key_length, 212 unsigned key_length,
211 const unsigned char* init_data, 213 const unsigned char* init_data,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 347
346 // The decryptor that manages decryption keys and decrypts encrypted frames. 348 // The decryptor that manages decryption keys and decrypts encrypted frames.
347 ProxyDecryptor decryptor_; 349 ProxyDecryptor decryptor_;
348 350
349 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 351 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
350 }; 352 };
351 353
352 } // namespace webkit_media 354 } // namespace webkit_media
353 355
354 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_ 356 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698