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

Unified Diff: ui/base/ui_base_switches_util.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « ui/base/ui_base_exports.cc ('k') | ui/base/view_prop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches_util.cc
diff --git a/ui/base/ui_base_switches_util.cc b/ui/base/ui_base_switches_util.cc
index cc4bf74617a94c477216c74c6486f1f88c426eed..3d4c2a26a8571dd22a87229c5a9808939cadd566 100644
--- a/ui/base/ui_base_switches_util.cc
+++ b/ui/base/ui_base_switches_util.cc
@@ -27,13 +27,8 @@ bool IsTouchDragDropEnabled() {
}
bool IsTouchEditingEnabled() {
-#if defined(USE_AURA)
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableTouchEditing);
-#else
return CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableTouchEditing);
-#endif
}
bool IsTouchFeedbackEnabled() {
« no previous file with comments | « ui/base/ui_base_exports.cc ('k') | ui/base/view_prop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698