diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 22:45:44 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 22:45:44 +0000 |
commit | c7127c355ca338a7f256d93196eef79033501c84 (patch) | |
tree | 95db9e59f2561842b0a5e739b6a5b08b736cb9cd /chrome/browser/tab_contents/tab_contents_view.h | |
parent | ba12f8f8918257976d4f7026088f4e13c07378e3 (diff) | |
download | chromium_src-c7127c355ca338a7f256d93196eef79033501c84.zip chromium_src-c7127c355ca338a7f256d93196eef79033501c84.tar.gz chromium_src-c7127c355ca338a7f256d93196eef79033501c84.tar.bz2 |
Don't send resize messages until the renderer has been initialized.
1) Moves renderer_initialized_ from RenderWidgetView into RenderWidgetHost (its parent). Should be identical semantics to before.
2) Test renderer_initialized_ in RWH::WasResized().
This also reverts r13725, which was another attempt at fixing this problem.
BUG=9830,10659
TEST=From the Linux start page, click a link then click back -- should not get a
gray page. From Google reader, click a link (which spawns a new tab within the
same process) -- should not get a gray page.
Review URL: http://codereview.chromium.org/93038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14260 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_view.h')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_view.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view.h b/chrome/browser/tab_contents/tab_contents_view.h index 2a17dff..7095bf8 100644 --- a/chrome/browser/tab_contents/tab_contents_view.h +++ b/chrome/browser/tab_contents/tab_contents_view.h @@ -124,10 +124,6 @@ class TabContentsView : public RenderViewHostDelegate::View { // invoked, SetInitialFocus is invoked. virtual void RestoreFocus() = 0; - // Sets children's size. May involve packing them in order to get the - // toolkit to send them resize events. - virtual void SetChildSize(RenderWidgetHostView* rwh_view) = 0; - protected: TabContentsView() {} // Abstract interface. |