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

Unified Diff: chrome/browser/extensions/extension_tabs_module.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/extensions/extension_tabs_module.cc
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc
index a949b4df1de9d75d041314d9248999ed25cfe9b4..a7d4ea7cfab6be946c6c70632ec4c78c0ff6ac8e 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -584,7 +584,7 @@ bool CreateWindowFunction::RunImpl() {
new_window->SelectNumberedTab(0);
if (focused)
- new_window->window()->Show();
+ new_window->window()->Show(BrowserWindow::SHOW_CONTEXT_NORMAL);
else
new_window->window()->ShowInactive();
@@ -811,7 +811,7 @@ bool CreateTabFunction::RunImpl() {
browser = BrowserList::FindTabbedBrowser(profile, false);
if (!browser) {
browser = Browser::Create(profile);
- browser->window()->Show();
+ browser->window()->Show(BrowserWindow::SHOW_CONTEXT_NORMAL);
}
}

Powered by Google App Engine
This is Rietveld 408576698