Index: ui/events/gestures/unified_gesture_detector_enabled.h |
diff --git a/ui/events/gestures/unified_gesture_detector_enabled.h b/ui/events/gestures/unified_gesture_detector_enabled.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..18fdc26d8acce43741bc54aea0e59b3491696171 |
--- /dev/null |
+++ b/ui/events/gestures/unified_gesture_detector_enabled.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_EVENTS_GESTURES_UNIFIED_GESTURE_DETECTOR_ENABLED_H_ |
+#define UI_EVENTS_GESTURES_UNIFIED_GESTURE_DETECTOR_ENABLED_H_ |
+ |
+#include "ui/events/events_export.h" |
+ |
+namespace ui { |
+ |
+// Returns true iff the unified gesture detector is enabled for Aura. |
+EVENTS_EXPORT bool IsUnifiedGestureDetectorEnabled(); |
+ |
+} // namespace ui |
+ |
+#endif // UI_EVENTS_GESTURES_UNIFIED_GESTURE_DETECTOR_ENABLED_H_ |