diff options
author | Steve Block <steveblock@google.com> | 2010-02-02 14:57:50 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-04 15:06:55 +0000 |
commit | d0825bca7fe65beaee391d30da42e937db621564 (patch) | |
tree | 7461c49eb5844ffd1f35d1ba2c8b7584c1620823 /WebCore/platform/graphics/MediaPlayerPrivate.h | |
parent | 3db770bd97c5a59b6c7574ca80a39e5a51c1defd (diff) | |
download | external_webkit-d0825bca7fe65beaee391d30da42e937db621564.zip external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.gz external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.bz2 |
Merge webkit.org at r54127 : Initial merge by git
Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
Diffstat (limited to 'WebCore/platform/graphics/MediaPlayerPrivate.h')
-rw-r--r-- | WebCore/platform/graphics/MediaPlayerPrivate.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/WebCore/platform/graphics/MediaPlayerPrivate.h b/WebCore/platform/graphics/MediaPlayerPrivate.h index 03906bd..6cf12ba 100644 --- a/WebCore/platform/graphics/MediaPlayerPrivate.h +++ b/WebCore/platform/graphics/MediaPlayerPrivate.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Apple Inc. All rights reserved. + * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -67,8 +67,6 @@ public: virtual float startTime() const { return 0; } - virtual void setEndTime(float) = 0; - virtual void setRate(float) = 0; virtual void setPreservesPitch(bool) { } @@ -85,10 +83,6 @@ public: virtual float maxTimeSeekable() const = 0; virtual PassRefPtr<TimeRanges> buffered() const = 0; - virtual int dataRate() const = 0; - - virtual bool totalBytesKnown() const { return totalBytes() > 0; } - virtual unsigned totalBytes() const = 0; virtual unsigned bytesLoaded() const = 0; virtual void setSize(const IntSize&) = 0; @@ -99,6 +93,8 @@ public: virtual void setAutobuffer(bool) { }; + virtual bool hasAvailableVideoFrame() const { return readyState() >= MediaPlayer::HaveCurrentData; } + virtual bool canLoadPoster() const { return false; } virtual void setPoster(const String&) { } |