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

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

Issue 164462: Merge r22016 -- Force sizing of a new tab as soon as TabContents is created.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 4 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 | « chrome/browser/browser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_contents_view_win.cc
===================================================================
--- chrome/browser/tab_contents/web_contents_view_win.cc (revision 23283)
+++ chrome/browser/tab_contents/web_contents_view_win.cc (working copy)
@@ -552,6 +552,8 @@
}
void WebContentsViewWin::WasSized(const gfx::Size& size) {
+ UINT swp_flags = SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE;
+ SetWindowPos(NULL, 0, 0, size.width(), size.height(), swp_flags);
if (web_contents()->interstitial_page())
web_contents()->interstitial_page()->SetSize(size);
if (web_contents()->render_widget_host_view())
Property changes on: chrome\browser\tab_contents\web_contents_view_win.cc
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/tab_contents/web_contents_view_win.cc:r14162,14665,15308,15810,15899,15950,16015,16808,18093,18210,18321,18640,18871,19044,19692,19978,19995
Merged /trunk/src/chrome/browser/views/tab_contents/tab_contents_view_win.cc:r22016
« no previous file with comments | « chrome/browser/browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698