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

Unified Diff: chrome/browser/automation/testing_automation_provider.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/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 30d1d3e90f6af07c10700baa966ed64d4184cb47..29891f137cec1946ad4cac4c5758a79c417122c6 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -1380,7 +1380,7 @@ void TestingAutomationProvider::OpenNewBrowserWindowOfType(
browser->InitBrowserWindow();
browser->AddBlankTab(true);
if (show)
- browser->window()->Show();
+ browser->window()->Show(BrowserWindow::SHOW_CONTEXT_NORMAL);
}
void TestingAutomationProvider::GetWindowForBrowser(int browser_handle,

Powered by Google App Engine
This is Rietveld 408576698