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

Unified Diff: chrome/browser/ui/browser_init.cc

Issue 7809013: Remove Animation When "Resuming" Window in Lion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds context parameter to BrowserWindow::Show(...) Created 9 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
Index: chrome/browser/ui/browser_init.cc
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc
index 5e9cbc6d8043cfdecc44ed08c519b9767eff4023..6f46ee4bd619c11a876aaec6e4326dae4320ab7a 100644
--- a/chrome/browser/ui/browser_init.cc
+++ b/chrome/browser/ui/browser_init.cc
@@ -1060,7 +1060,7 @@ Browser* BrowserInit::LaunchWithProfile::OpenTabsInBrowser(
first_tab = false;
}
- browser->window()->Show();
+ browser->window()->Show(BrowserWindow::SHOW_CONTEXT_NORMAL);
// TODO(jcampan): http://crbug.com/8123 we should not need to set the initial
// focus explicitly.
browser->GetSelectedTabContents()->view()->SetInitialFocus();

Powered by Google App Engine
This is Rietveld 408576698