summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-01-10 16:15:21 -0800
committerTeng-Hui Zhu <ztenghui@google.com>2012-01-10 17:27:56 -0800
commit299925eb66dc094d5153fb4027be09bc13e139a0 (patch)
tree3a3f73b02d60d40f062dd145ad2ae054629d614c /Source/WebCore/platform/graphics/android
parent506b8bf34a2526eff1ac9fedaa29494a39206888 (diff)
downloadexternal_webkit-299925eb66dc094d5153fb4027be09bc13e139a0.zip
external_webkit-299925eb66dc094d5153fb4027be09bc13e139a0.tar.gz
external_webkit-299925eb66dc094d5153fb4027be09bc13e139a0.tar.bz2
Native function to support restore the media player state
nativeRestoreState will call java side to start to play if the native side think the player is still playing. Currently used when switching from inline mode to full screen mode. bug:5765848 framework change: https://android-git.corp.google.com/g/#/c/157864/ Change-Id: I481584ef8764d0d655f242427daa59335673e6fe
Diffstat (limited to 'Source/WebCore/platform/graphics/android')
-rw-r--r--Source/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h b/Source/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h
index 404ef08..535e7ae 100644
--- a/Source/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h
+++ b/Source/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h
@@ -95,6 +95,7 @@ public:
virtual void onPosterFetched(SkBitmap*) { }
void onBuffering(int percent);
void onTimeupdate(int position);
+ void onRestoreState();
// These following two functions are used to turn on inline video support
bool supportsAcceleratedRendering() const { return true; }