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