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

Unified Diff: chrome/browser/ui/browser.h

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/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index dce38b644a549d05d094ef33e73bc8a20a5bad41..63cfd4db7e97f34d660975fd4807aeb88d4c906e 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -186,6 +186,9 @@ class Browser : public TabStripModelObserver,
bool is_session_restore;
+ // Whether this browser was created by a user gesture.
Mr4D (OOO till 08-26) 2017/02/13 23:57:39 Please add a comment towards why this is&needed -
Elliot Glaysher 2017/02/15 22:15:02 Done.
+ bool user_gesture;
Mr4D (OOO till 08-26) 2017/02/13 23:57:39 The name "user_gesture" suggests that there must h
Elliot Glaysher 2017/02/15 22:15:02 I disagree. The name "user_gesture" predates touch
+
// Supply a custom BrowserWindow implementation, to be used instead of the
// default. Intended for testing.
BrowserWindow* window;

Powered by Google App Engine
This is Rietveld 408576698