diff options
Diffstat (limited to 'webkit/glue/webmediaplayer_delegate.h')
-rw-r--r-- | webkit/glue/webmediaplayer_delegate.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/webkit/glue/webmediaplayer_delegate.h b/webkit/glue/webmediaplayer_delegate.h index c86b001..7f60851 100644 --- a/webkit/glue/webmediaplayer_delegate.h +++ b/webkit/glue/webmediaplayer_delegate.h @@ -13,9 +13,8 @@ class GURL; -namespace WebKit { -struct WebRect; -struct WebSize; +namespace gfx { +class Rect; } namespace webkit_glue { @@ -44,12 +43,11 @@ class WebMediaPlayerDelegate { virtual float GetMaxTimeSeekable() const = 0; // Methods for painting. - virtual void SetSize(const WebKit::WebSize& size) = 0; + virtual void SetSize(const gfx::Size& size) = 0; // TODO(hclam): Using paint at the moment, maybe we just need to return a // SkiaBitmap? - virtual void Paint(skia::PlatformCanvas *canvas, - const WebKit::WebRect& rect) = 0; + virtual void Paint(skia::PlatformCanvas *canvas, const gfx::Rect& rect) = 0; // True if a video is loaded. virtual bool IsVideo() const = 0; |