Index: views/touchui/touch_event_dispatcher_gtk.h |
diff --git a/views/touchui/touch_event_dispatcher_gtk.h b/views/touchui/touch_event_dispatcher_gtk.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d80cb96e020c88fcedcb53c285d36e1e41475868 |
--- /dev/null |
+++ b/views/touchui/touch_event_dispatcher_gtk.h |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 2006-2008 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 VIEWS_TOUCHUI_TOUCH_EVENT_DISPATCHER_GTK_H_ |
+#define VIEWS_TOUCHUI_TOUCH_EVENT_DISPATCHER_GTK_H_ |
+ |
+namespace views { |
+ |
+// Dispatches a GdkEvent to the appropriate RootView. |
+// Returns true if the function dispatched (handled) the event. |
+// Returns false if the caller should dispatch the event. |
+// FYI: That would typically be done with gtk_main_do_event(event) |
+bool DispatchEventForTouchUIGtk(GdkEvent* gdk_event); |
+ |
+} // namespace views |
+ |
+#endif // VIEWS_TOUCHUI_TOUCH_EVENT_DISPATCHER_GTK_H_ |