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

Unified Diff: chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm

Issue 2685333005: ash: fix regression where ctrl+n put new window on wrong desktop (Closed)
Patch Set: Rebase to ToT Created 3 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
Index: chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm
index 5ba519914152d10641f8a7e67692992d063c7f0b..d18e12f2b22a26d46784dadf0dcd6c2b1fb994e7 100644
--- a/chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm
@@ -9,7 +9,8 @@
// Create the controller for the Browser, which handles loading the browser
// window from the nib. The controller takes ownership of |browser|.
// static
-BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) {
+BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser,
+ bool user_gesture) {
BrowserWindowController* controller =
[[BrowserWindowController alloc] initWithBrowser:browser];
return [controller browserWindow];

Powered by Google App Engine
This is Rietveld 408576698