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

Unified Diff: ui/events/gesture_detection/gesture_detection_switches.h

Issue 1049383003: Postpone rail application for touch scrolling - chrome side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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_

Powered by Google App Engine
This is Rietveld 408576698