Index: ui/events/ozone/evdev/gestures/gesture_property_provider.cc |
diff --git a/ui/events/ozone/evdev/gestures/gesture_property_provider.cc b/ui/events/ozone/evdev/gestures/gesture_property_provider.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ff3e14a3dfb4cf889968751c4533dc8e744c8ac2 |
--- /dev/null |
+++ b/ui/events/ozone/evdev/gestures/gesture_property_provider.cc |
@@ -0,0 +1,75 @@ |
+// 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. |
+ |
+#include "ui/events/ozone/evdev/gestures/gesture_property_provider.h" |
+ |
+#include <gestures/gestures.h> |
+ |
+#include "base/logging.h" |
+ |
+namespace ui { |
+ |
+namespace { |
+ |
+void Prop_Free(void* priv, GesturesProp* prop) { NOTIMPLEMENTED(); } |
+ |
+GesturesProp* PropCreate_Int(void* priv, |
+ const char* name, |
+ int* val, |
+ size_t count, |
+ const int* init) { |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+} |
+ |
+GesturesProp* PropCreate_Short(void* priv, |
+ const char* name, |
+ short* val, |
+ size_t count, |
+ const short* init) { |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+} |
+ |
+GesturesProp* PropCreate_Bool(void* priv, |
+ const char* name, |
+ GesturesPropBool* val, |
+ size_t count, |
+ const GesturesPropBool* init) { |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+} |
+ |
+GesturesProp* PropCreate_String(void* priv, |
+ const char* name, |
+ const char** val, |
+ const char* init) { |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+} |
+ |
+GesturesProp* PropCreate_Real(void* priv, |
+ const char* name, |
+ double* val, |
+ size_t count, |
+ const double* init) { |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+} |
+ |
+void Prop_RegisterHandlers(void* priv, |
+ GesturesProp* prop, |
+ void* handler_data, |
+ GesturesPropGetHandler get, |
+ GesturesPropSetHandler set) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+} // namespace |
+ |
+const GesturesPropProvider kGesturePropertyProvider = { |
+ PropCreate_Int, PropCreate_Short, PropCreate_Bool, PropCreate_String, |
+ PropCreate_Real, Prop_RegisterHandlers, Prop_Free}; |
+ |
+} // namespace ui |