Only send renderer resize messages for RWHV sizing caused by
TCV's size allocate message. This avoids a spurious size-allocate being sent to the renderers when creating a new tab. The extra size-allocate is called by the build-in GtkFixed's size allocate method. Another way to think of this is that we only size our RWH directly and decouple it's sizing from the GTK+ widget's sizing. BUG=26495 Review URL: http://codereview.chromium.org/363012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31031 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/browser/renderer_host/render_widget_host_view_gtk.cc 5 additions, 12 deletionschrome/browser/renderer_host/render_widget_host_view_gtk.cc
- chrome/browser/tab_contents/interstitial_page.cc 2 additions, 2 deletionschrome/browser/tab_contents/interstitial_page.cc
- chrome/browser/tab_contents/tab_contents_view_gtk.cc 7 additions, 2 deletionschrome/browser/tab_contents/tab_contents_view_gtk.cc
Loading
Please register or sign in to comment