diff options
author | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 07:32:07 +0000 |
---|---|---|
committer | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 07:32:07 +0000 |
commit | a4f98e2023fed3f3f697b837ccca6c98940c6526 (patch) | |
tree | 0b379a66bb200377bc51fae1150096279831390a /content/renderer/render_widget.h | |
parent | 676bfd3221b2b70db1a278d5193760278b0219f9 (diff) | |
download | chromium_src-a4f98e2023fed3f3f697b837ccca6c98940c6526.zip chromium_src-a4f98e2023fed3f3f697b837ccca6c98940c6526.tar.gz chromium_src-a4f98e2023fed3f3f697b837ccca6c98940c6526.tar.bz2 |
Revert 120282 - 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
TBR=thakis@chromium.org
Reverting in the hopes that this is magically the cause of timeouts in
Prerendering* http://build.chromium.org/p/chromium/builders/Win7%20Tests%20%28dbg%29%283%29/builds/2660/steps/browser_tests/logs/stdio
If this turns out to be the culprit, I'll post more logs in the TBR CL.
Sorry!
Review URL: https://chromiumcodereview.appspot.com/9316088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_widget.h')
-rw-r--r-- | content/renderer/render_widget.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h index 6a6d8eb..5c11923 100644 --- a/content/renderer/render_widget.h +++ b/content/renderer/render_widget.h @@ -207,7 +207,6 @@ 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(); |