diff options
author | Andrei Popescu <andreip@google.com> | 2010-01-11 21:11:21 +0000 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2010-01-12 12:50:12 +0000 |
commit | e83d054d07e84938705c758f55ef5ac701b3acce (patch) | |
tree | 7756b7f9f8f6c190ea868c31ca219f16ed8a7812 /WebCore | |
parent | c74d807c018da5b7a0f8c89e0e735361c59092ac (diff) | |
download | external_webkit-e83d054d07e84938705c758f55ef5ac701b3acce.zip external_webkit-e83d054d07e84938705c758f55ef5ac701b3acce.tar.gz external_webkit-e83d054d07e84938705c758f55ef5ac701b3acce.tar.bz2 |
Implement timeupdate events for video tag.
Fix http://b/issue?id=2210105
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h b/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h index 29ef11c..19bfcd1 100644 --- a/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h +++ b/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h @@ -89,6 +89,7 @@ public: void onPrepared(int duration, int width, int height); void onEnded(); void onPosterFetched(SkBitmap*); + void onTimeupdate(int position); private: // Android-specific methods and fields. static MediaPlayerPrivateInterface* create(MediaPlayer* player); @@ -107,6 +108,7 @@ private: float m_currentTime; bool m_paused; + bool m_hasVideo; MediaPlayer::ReadyState m_readyState; MediaPlayer::NetworkState m_networkState; |