projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
ui
/
base
/
ui_base_switches_util.cc
diff --git
a/src/ui/base/ui_base_switches_util.cc
b/src/ui/base/ui_base_switches_util.cc
index
f562ea4
..
7a89264
100644
(file)
--- a/
src/ui/base/ui_base_switches_util.cc
+++ b/
src/ui/base/ui_base_switches_util.cc
@@
-46,4
+46,10
@@
bool IsTouchEditingEnabled() {
#endif
}
+bool IsTouchFeedbackEnabled() {
+ static bool touch_feedback_enabled = CommandLine::ForCurrentProcess()->
+ HasSwitch(switches::kEnableTouchFeedback);
+ return touch_feedback_enabled;
+}
+
} // namespace switches