diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 23:16:24 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 23:16:24 +0000 |
commit | eb6439387ab5035450035d606f6ff32319c13789 (patch) | |
tree | 897f9ffa88d64addd5ed0de10039c3dfc383100a /webkit/glue/webmediaplayer_delegate.h | |
parent | 1640ffbff45713748fb31c9bbae46ea47ab6e8e0 (diff) | |
download | chromium_src-eb6439387ab5035450035d606f6ff32319c13789.zip chromium_src-eb6439387ab5035450035d606f6ff32319c13789.tar.gz chromium_src-eb6439387ab5035450035d606f6ff32319c13789.tar.bz2 |
Reverting dfisher changes 133386 and 13381
TBR=darin
Review URL: http://codereview.chromium.org/58018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13387 0039d316-1c4b-4281-b951-d872f2087c98
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; |