summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webwidget_delegate.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 21:13:01 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 21:13:01 +0000
commit63bf66fc9f88f5ec92f4e9a2e2c65e747bab50c4 (patch)
tree6d9886906e7beb39c0265a53842aa79f6d5357c2 /webkit/glue/webwidget_delegate.h
parentb6857ad5bc27cf95b765b1c019a35c7830cfd980 (diff)
downloadchromium_src-63bf66fc9f88f5ec92f4e9a2e2c65e747bab50c4.zip
chromium_src-63bf66fc9f88f5ec92f4e9a2e2c65e747bab50c4.tar.gz
chromium_src-63bf66fc9f88f5ec92f4e9a2e2c65e747bab50c4.tar.bz2
Fix ChromeClientImpl::windowRect() to return the current
window's rect. Previously, it was combining the window origin with the size of the renderer; not the size of the window. BUG=1186573 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webwidget_delegate.h')
-rw-r--r--webkit/glue/webwidget_delegate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webwidget_delegate.h b/webkit/glue/webwidget_delegate.h
index 80f8ba4d..20b26f1 100644
--- a/webkit/glue/webwidget_delegate.h
+++ b/webkit/glue/webwidget_delegate.h
@@ -78,8 +78,8 @@ class WebWidgetDelegate {
virtual void SetCursor(WebWidget* webwidget,
const WebCursor& cursor) = 0;
- // Returns the location (x,y) of the WebWidget in screen coordinates.
- virtual void GetWindowLocation(WebWidget* webwidget, gfx::Point* origin) = 0;
+ // Returns the rectangle of the WebWidget in screen coordinates.
+ virtual void GetWindowRect(WebWidget* webwidget, gfx::Rect* rect) = 0;
// This method is called to re-position the WebWidget on the screen. The given
// rect is in screen coordinates. The implementation may choose to ignore