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

Unified Diff: chrome/browser/views/frame/browser_view.cc

Issue 27190: Makes it so windows opened from links in Windows Live Messenger cause the win... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 10 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/views/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view.cc
===================================================================
--- chrome/browser/views/frame/browser_view.cc (revision 10371)
+++ chrome/browser/views/frame/browser_view.cc (working copy)
@@ -227,9 +227,7 @@
si.cb = sizeof(si);
si.dwFlags = STARTF_USESHOWWINDOW;
GetStartupInfo(&si);
- // When launched from bash, for some reason si.wShowWindow is set to SW_HIDE,
- // so we need to correct that condition.
- return si.wShowWindow == SW_HIDE ? SW_SHOWNORMAL : si.wShowWindow;
+ return si.wShowWindow;
}
void BrowserView::WindowMoved() {
« no previous file with comments | « no previous file | chrome/views/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698