From 02e80deede0729617aeb87128b1db3cd14b36d6b Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Wed, 8 Apr 2009 21:58:04 +0000 Subject: Switch to using WebPoint, WebRect, and WebSize in more of the glue layer interface. This will help when we move those interfaces into the WebKit API. R=dglazkov Review URL: http://codereview.chromium.org/63126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13381 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/test_webview_delegate.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'webkit/tools/test_shell/test_webview_delegate.h') diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h index 94e1f83..e1692fe 100644 --- a/webkit/tools/test_shell/test_webview_delegate.h +++ b/webkit/tools/test_shell/test_webview_delegate.h @@ -212,12 +212,13 @@ class TestWebViewDelegate : public base::RefCounted, // WebWidgetDelegate virtual gfx::NativeViewId GetContainingView(WebWidget* webwidget); - virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect); + virtual void DidInvalidateRect(WebWidget* webwidget, + const WebKit::WebRect& rect); virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, - const gfx::Rect& clip_rect); + const WebKit::WebRect& clip_rect); virtual void Show(WebWidget* webview, WindowOpenDisposition disposition); virtual void ShowWithItems(WebWidget* webwidget, - const gfx::Rect& bounds, + const WebKit::WebRect& bounds, int item_height, int selected_index, const std::vector& items); @@ -226,10 +227,12 @@ class TestWebViewDelegate : public base::RefCounted, virtual void Blur(WebWidget* webwidget); virtual void SetCursor(WebWidget* webwidget, const WebCursor& cursor); - virtual void GetWindowRect(WebWidget* webwidget, gfx::Rect* rect); - virtual void SetWindowRect(WebWidget* webwidget, const gfx::Rect& rect); - virtual void GetRootWindowRect(WebWidget *, gfx::Rect *); - virtual void GetRootWindowResizerRect(WebWidget* webwidget, gfx::Rect* rect); + virtual void GetWindowRect(WebWidget* webwidget, WebKit::WebRect* rect); + virtual void SetWindowRect(WebWidget* webwidget, + const WebKit::WebRect& rect); + virtual void GetRootWindowRect(WebWidget *, WebKit::WebRect *); + virtual void GetRootWindowResizerRect(WebWidget* webwidget, + WebKit::WebRect* rect); virtual void DidMove(WebWidget* webwidget, const WebPluginGeometry& move); virtual void RunModal(WebWidget* webwidget); virtual bool IsHidden(WebWidget* webwidget); -- cgit v1.1