Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1424)

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 1989002: The app launcher had a height of zero as it was not getting preferred size up... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents_delegate.h » ('j') | chrome/renderer/render_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 46475)
+++ chrome/browser/tab_contents/tab_contents.cc (working copy)
@@ -777,6 +777,9 @@
if (!dest_render_view_host)
return false; // Unable to create the desired render view host.
+ if (delegate_ && delegate_->ShouldEnablePreferredSizeNotifications())
+ dest_render_view_host->EnablePreferredSizeChangedMode();
+
// For security, we should never send non-DOM-UI URLs (other than about:blank)
// to a DOM UI renderer. Double check that here.
int enabled_bindings = dest_render_view_host->enabled_bindings();
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents_delegate.h » ('j') | chrome/renderer/render_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698