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

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

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Still a few linking errors to resolve. Created 9 years, 3 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 01d775ceba949e72cc865449dcc742441628db96..14c3c93d1590f3fd64cff09f7ed4d0800518abfe 100644
--- a/chrome/browser/ui/browser_init.cc
+++ b/chrome/browser/ui/browser_init.cc
@@ -1037,7 +1037,7 @@ Browser* BrowserInit::LaunchWithProfile::OpenTabsInBrowser(
if (!browser || !browser->is_type_tabbed()) {
browser = Browser::Create(profile_);
} else {
-#if defined(TOOLKIT_GTK)
+#if defined(TOOLKIT_GTK) && !defined(USE_AURA)
// Setting the time of the last action on the window here allows us to steal
// focus, which is what the user wants when opening a new tab in an existing
// browser window.

Powered by Google App Engine
This is Rietveld 408576698