summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_widget.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-03 04:33:39 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-03 04:33:39 +0000
commit7fff3291749da0ed6cc82188b42019b3d3be91cf (patch)
tree9a5f9f8397b4349138d491d366429438fb436bea /content/renderer/render_widget.h
parent0866e5b4c91d921220a3d35ad1192ebc02efe0a0 (diff)
downloadchromium_src-7fff3291749da0ed6cc82188b42019b3d3be91cf.zip
chromium_src-7fff3291749da0ed6cc82188b42019b3d3be91cf.tar.gz
chromium_src-7fff3291749da0ed6cc82188b42019b3d3be91cf.tar.bz2
Fix broken resize box appearance after download shelf open/close.
The issue was that currently only a WasResized() message updates the resize corner information in WebKit, but if the download shelf opens, the web contents don't necessarily get resized. As a fix, add an IPC to explicitly update the resize rect, and call this when the download shelf opens/closes, and when a TabContents object becomes active. Depends on https://bugs.webkit.org/show_bug.cgi?id=77453 BUG=111266 TEST=open page with scrollbar, save it. no resize corner in web. switch to background tab with scrollbar, no resize corner there either. close download shelf, resize corner doesn't overlap scrollbar. back to first tab, there neither. Review URL: http://codereview.chromium.org/9159057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_widget.h')
-rw-r--r--content/renderer/render_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 5c11923..6a6d8eb 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -207,6 +207,7 @@ class CONTENT_EXPORT RenderWidget
virtual void OnResize(const gfx::Size& new_size,
const gfx::Rect& resizer_rect,
bool is_fullscreen);
+ void OnChangeResizeRect(const gfx::Rect& resizer_rect);
virtual void OnWasHidden();
virtual void OnWasRestored(bool needs_repainting);
virtual void OnWasSwappedOut();