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

Side by Side Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 23442021: Add loop implementation for HTML5 Video on Android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 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/android/webmediaplayer_android.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_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Media Stream related fields. 392 // Media Stream related fields.
393 media::Demuxer* demuxer_; 393 media::Demuxer* demuxer_;
394 base::Closure destroy_demuxer_cb_; 394 base::Closure destroy_demuxer_cb_;
395 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; 395 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_;
396 MediaStreamClient* media_stream_client_; 396 MediaStreamClient* media_stream_client_;
397 #endif 397 #endif
398 398
399 scoped_ptr<MediaSourceDelegate, 399 scoped_ptr<MediaSourceDelegate,
400 MediaSourceDelegate::Destroyer> media_source_delegate_; 400 MediaSourceDelegate::Destroyer> media_source_delegate_;
401 401
402 // Internal pending playback state.
403 // Store a playback request that cannot be started immediately.
404 bool pending_playback_;
405
402 MediaPlayerHostMsg_Initialize_Type player_type_; 406 MediaPlayerHostMsg_Initialize_Type player_type_;
403 407
404 // Proxy object that delegates method calls on Render Thread. 408 // Proxy object that delegates method calls on Render Thread.
405 // This object is created on the Render Thread and is only called in the 409 // This object is created on the Render Thread and is only called in the
406 // destructor. 410 // destructor.
407 WebMediaPlayerProxyAndroid* proxy_; 411 WebMediaPlayerProxyAndroid* proxy_;
408 412
409 // The current playing time. Because the media player is in the browser 413 // The current playing time. Because the media player is in the browser
410 // process, it will regularly update the |current_time_| by calling 414 // process, it will regularly update the |current_time_| by calling
411 // OnTimeUpdate(). 415 // OnTimeUpdate().
(...skipping 13 matching lines...) Expand all
425 429
426 // The decryptor that manages decryption keys and decrypts encrypted frames. 430 // The decryptor that manages decryption keys and decrypts encrypted frames.
427 scoped_ptr<ProxyDecryptor> decryptor_; 431 scoped_ptr<ProxyDecryptor> decryptor_;
428 432
429 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); 433 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
430 }; 434 };
431 435
432 } // namespace content 436 } // namespace content
433 437
434 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 438 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698