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

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

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 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_provider_config_helper.h
diff --git a/ui/events/gesture_detection/gesture_provider_config_helper.h b/ui/events/gesture_detection/gesture_provider_config_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..bfbe2182234391bed4d1d21f04326d57d0990ec0
--- /dev/null
+++ b/ui/events/gesture_detection/gesture_provider_config_helper.h
@@ -0,0 +1,26 @@
+// 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_PROVIDER_CONFIG_HELPER_H_
+#define UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_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"
+
+namespace ui {
+
+enum class GestureProviderConfigType {
+ CURRENT_PLATFORM, // Parameters tailored for the current platform.
+ GENERIC_DESKTOP, // Parameters typical for a desktop machine.
+ GENERIC_MOBILE // Parameters typical for a mobile device (phone/tablet).
+};
+
+GESTURE_DETECTION_EXPORT GestureProvider::Config GetGestureProviderConfig(
+ GestureProviderConfigType);
+
+} // namespace ui
+
+#endif // UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_CONFIG_HELPER_H_
« no previous file with comments | « ui/events/gesture_detection/gesture_provider.cc ('k') | ui/events/gesture_detection/gesture_provider_config_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698