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

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

Issue 171773012: Port of Android platform gesture detection code to C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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_config_helper.h
diff --git a/ui/events/gesture_detection/gesture_config_helper.h b/ui/events/gesture_detection/gesture_config_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..e37268db2fad0f16721e52bd8c6c467340b436cf
--- /dev/null
+++ b/ui/events/gesture_detection/gesture_config_helper.h
@@ -0,0 +1,30 @@
+// 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_GESTURE_DETECTION_GESTURE_CONFIG_HELPER_H_
+#define UI_EVENTS_GESTURE_DETECTION_GESTURE_CONFIG_HELPER_H_
+
+#include "ui/events/gesture_detection/gesture_detection_export.h"
+#include "ui/events/gesture_detection/gesture_detector.h"
+#include "ui/events/gesture_detection/gesture_provider.h"
+#include "ui/events/gesture_detection/scale_gesture_detector.h"
+#include "ui/events/gesture_detection/snap_scroll_controller.h"
+
+namespace ui {
+
+GESTURE_DETECTION_EXPORT GestureDetector::Config
+DefaultGestureDetectorConfig();
+
+GESTURE_DETECTION_EXPORT ScaleGestureDetector::Config
+DefaultScaleGestureDetectorConfig();
+
+GESTURE_DETECTION_EXPORT SnapScrollController::Config
+DefaultSnapScrollControllerConfig();
+
+GESTURE_DETECTION_EXPORT GestureProvider::Config
+DefaultGestureProviderConfig();
+
+} // namespace ui
+
+#endif // UI_EVENTS_GESTURE_DETECTION_GESTURE_CONFIG_HELPER_H_
« no previous file with comments | « ui/events/gesture_detection/bitset_32_unittest.cc ('k') | ui/events/gesture_detection/gesture_config_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698