summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents_view.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 22:45:44 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 22:45:44 +0000
commitc7127c355ca338a7f256d93196eef79033501c84 (patch)
tree95db9e59f2561842b0a5e739b6a5b08b736cb9cd /chrome/browser/tab_contents/tab_contents_view.h
parentba12f8f8918257976d4f7026088f4e13c07378e3 (diff)
downloadchromium_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.h4
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.