Index: ui/events/ozone/evdev/libgestures_glue/gesture_logging.h |
diff --git a/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h b/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a5f543556ab14c399e9ce553b836d255fbf81327 |
--- /dev/null |
+++ b/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h |
@@ -0,0 +1,15 @@ |
+// 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_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_LOGGING_H_ |
+#define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_LOGGING_H_ |
+ |
+// libgestures.so binds to this function for logging. |
+// TODO(spang): Fix libgestures to not require this. |
+extern "C" |
+ __attribute__((visibility("default"))) void gestures_log(int verb, |
+ const char* fmt, |
+ ...); |
+ |
+#endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_LOGGING_H_ |