summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 21:58:04 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 21:58:04 +0000
commit02e80deede0729617aeb87128b1db3cd14b36d6b (patch)
treedfdec4f6e761c652ba8439dc36204cfa31246962 /chrome/renderer/render_widget.h
parent98aebc7fc44cc34ecfa5a33ade9a8aa511bb96a3 (diff)
downloadchromium_src-02e80deede0729617aeb87128b1db3cd14b36d6b.zip
chromium_src-02e80deede0729617aeb87128b1db3cd14b36d6b.tar.gz
chromium_src-02e80deede0729617aeb87128b1db3cd14b36d6b.tar.bz2
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
Diffstat (limited to 'chrome/renderer/render_widget.h')
-rw-r--r--chrome/renderer/render_widget.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h
index 7ee2c04..294c73a 100644
--- a/chrome/renderer/render_widget.h
+++ b/chrome/renderer/render_widget.h
@@ -65,23 +65,26 @@ class RenderWidget : public IPC::Channel::Listener,
// 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 SetCursor(WebWidget* webwidget, const WebCursor& cursor);
virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition);
virtual void ShowWithItems(WebWidget* webwidget,
- const gfx::Rect& bounds,
+ const WebKit::WebRect& bounds,
int item_height,
int selected_index,
const std::vector<MenuItem>& items);
virtual void CloseWidgetSoon(WebWidget* webwidget);
virtual void Focus(WebWidget* webwidget);
virtual void Blur(WebWidget* webwidget);
- virtual void GetWindowRect(WebWidget* webwidget, gfx::Rect* rect);
- virtual void SetWindowRect(WebWidget* webwidget, const gfx::Rect& rect);
- virtual void GetRootWindowRect(WebWidget* webwidget, gfx::Rect* 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* webwidget, WebKit::WebRect* rect);
+ 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) { return is_hidden_; }