X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Frenderer%2Fmedia%2Fwebmediaplayer_ms.h;h=38667777dc97501c74b0184048781944790c54ef;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=eb67d3d1802f1f1cb8cd54ab64ae646c33f5a46c;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/renderer/media/webmediaplayer_ms.h b/src/content/renderer/media/webmediaplayer_ms.h index eb67d3d..3866777 100644 --- a/src/content/renderer/media/webmediaplayer_ms.h +++ b/src/content/renderer/media/webmediaplayer_ms.h @@ -76,17 +76,13 @@ class WebMediaPlayerMS virtual void setVolume(double volume); virtual void setPreload(blink::WebMediaPlayer::Preload preload); virtual blink::WebTimeRanges buffered() const; - virtual double maxTimeSeekable() const; + virtual blink::WebTimeRanges seekable() const; // Methods for painting. virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect, unsigned char alpha, SkXfermode::Mode mode); - // TODO(dshwang): remove it because above method replaces. crbug.com/401027 - virtual void paint(blink::WebCanvas* canvas, - const blink::WebRect& rect, - unsigned char alpha); // True if the loaded media has a playable video/audio track. virtual bool hasVideo() const; @@ -118,11 +114,10 @@ class WebMediaPlayerMS virtual unsigned videoDecodedByteCount() const; // VideoFrameProvider implementation. - virtual void SetVideoFrameProviderClient( - cc::VideoFrameProvider::Client* client) OVERRIDE; - virtual scoped_refptr GetCurrentFrame() OVERRIDE; - virtual void PutCurrentFrame(const scoped_refptr& frame) - OVERRIDE; + void SetVideoFrameProviderClient( + cc::VideoFrameProvider::Client* client) override; + scoped_refptr GetCurrentFrame() override; + void PutCurrentFrame(const scoped_refptr& frame) override; private: // The callback for VideoFrameProvider to signal a new frame is available.