diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 18:54:19 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 18:54:19 +0000 |
commit | c04b6367950900e19ced8d89393d3b870fd837b8 (patch) | |
tree | beb0a0a6a0d2cd60c0d456c0fd4b94cfb4c4b518 /webkit/glue/webwidget_delegate.h | |
parent | 0eb9f434fb019da43b97c81d7e314885d43af0f9 (diff) | |
download | chromium_src-c04b6367950900e19ced8d89393d3b870fd837b8.zip chromium_src-c04b6367950900e19ced8d89393d3b870fd837b8.tar.gz chromium_src-c04b6367950900e19ced8d89393d3b870fd837b8.tar.bz2 |
Plumb WebCore's windowResizerRect() through glue and renderer. Enables Mac scrollbars to not overlap the in-window resizer widget.
Review URL: http://codereview.chromium.org/11353
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webwidget_delegate.h')
-rw-r--r-- | webkit/glue/webwidget_delegate.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webkit/glue/webwidget_delegate.h b/webkit/glue/webwidget_delegate.h index 45d0dcc..3302c5d 100644 --- a/webkit/glue/webwidget_delegate.h +++ b/webkit/glue/webwidget_delegate.h @@ -63,9 +63,14 @@ class WebWidgetDelegate { // synchronously? virtual void SetWindowRect(WebWidget* webwidget, const gfx::Rect& rect) = 0; - // Returns the rectangle of the window in which this WebWidget is embeded in. + // Returns the rectangle of the window in which this WebWidget is embeded. virtual void GetRootWindowRect(WebWidget* webwidget, gfx::Rect* rect) = 0; + // Returns the resizer rectangle of the window this WebWidget is in. This + // is used on Mac to determine if a scrollbar is over the in-window resize + // area at the bottom right corner. + virtual void GetRootWindowResizerRect(WebWidget* webwidget, gfx::Rect* rect) = 0; + // Keeps track of the necessary window move for a plugin window that resulted // from a scroll operation. That way, all plugin windows can be moved at the // same time as each other and the page. |