summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-09-17 15:55:39 +0100
committerAndrei Popescu <andreip@google.com>2009-09-17 17:26:02 +0100
commit8b6fb26a615e54190d2d9d653ee4a57750f06d5e (patch)
tree4750bb59d1f483bde395ee00d24bd15a2cf0aa5d /WebCore/platform
parent2471bb64fd133cc64b2048b1fb90c84e08c24a16 (diff)
downloadexternal_webkit-8b6fb26a615e54190d2d9d653ee4a57750f06d5e.zip
external_webkit-8b6fb26a615e54190d2d9d653ee4a57750f06d5e.tar.gz
external_webkit-8b6fb26a615e54190d2d9d653ee4a57750f06d5e.tar.bz2
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h b/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h
index 1dbd20b..2d76ebb 100644
--- a/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h
+++ b/WebCore/platform/graphics/android/MediaPlayerPrivateAndroid.h
@@ -81,6 +81,9 @@ public:
virtual void setPoster(const String&);
virtual void paint(GraphicsContext*, const IntRect&);
+
+ void onPrepared(int duration, int width, int height);
+ void onEnded();
private:
// Android-specific methods and fields.
static MediaPlayerPrivateInterface* create(MediaPlayer* player);
@@ -94,6 +97,10 @@ private:
String m_url;
struct JavaGlue;
JavaGlue* m_glue;
+ float m_duration;
+ IntSize m_size;
+ float m_currentTime;
+ bool m_paused;
};
} // namespace WebCore