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

Unified Diff: ui/views/corewm/corewm_switches.cc

Issue 12377024: CL to disable FocusController intended only for drovering over to the branch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/corewm_switches.cc
===================================================================
--- ui/views/corewm/corewm_switches.cc (revision 183625)
+++ ui/views/corewm/corewm_switches.cc (working copy)
@@ -25,8 +25,12 @@
} // namespace switches
bool UseFocusController() {
+#if defined(OS_CHROMEOS)
+ return false;
+#else
return !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableFocusController);
+#endif
}
bool UseFocusControllerOnDesktop() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698