Index: ui/events/gesture_detection/gesture_detection_switches.h |
diff --git a/ui/events/gesture_detection/gesture_detection_switches.h b/ui/events/gesture_detection/gesture_detection_switches.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c8b07e7d5bff473ff95a23ab904a2218bbe53c67 |
--- /dev/null |
+++ b/ui/events/gesture_detection/gesture_detection_switches.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2015 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_GESTURE_DETECTION_SWITCHES_H_ |
+#define UI_EVENTS_GESTURE_DETECTION_SWITCHES_H_ |
+ |
+#include "ui/events/gesture_detection/gesture_detection_export.h" |
+ |
+namespace switches { |
+ |
+GESTURE_DETECTION_EXPORT extern const char kScrollRailsPostponed[]; |
+GESTURE_DETECTION_EXPORT extern const char kScrollRailsPostponedAuto[]; |
+GESTURE_DETECTION_EXPORT extern const char kScrollRailsPostponedEnabled[]; |
+GESTURE_DETECTION_EXPORT extern const char kScrollRailsPostponedDisabled[]; |
+ |
+} // namespace switches |
+ |
+namespace ui { |
+ |
+// Returns true if we should postpone the application of scroll rails. |
+GESTURE_DETECTION_EXPORT bool PostponeRailApplication(); |
+ |
+} // namespace ui |
+ |
+#endif // UI_EVENTS_GESTURE_DETECTION_SWITCHES_H_ |