OLD | NEW |
| (Empty) |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef VIEWS_TOUCHUI_TOUCH_EVENT_DISPATCHER_GTK_H_ | |
6 #define VIEWS_TOUCHUI_TOUCH_EVENT_DISPATCHER_GTK_H_ | |
7 | |
8 namespace views { | |
9 | |
10 // Dispatches a GdkEvent to the appropriate RootView. | |
11 // Returns true if the function dispatched (handled) the event. | |
12 // Returns false if the caller should dispatch the event. | |
13 // FYI: That would typically be done with gtk_main_do_event(event) | |
14 bool DispatchEventForTouchUIGtk(GdkEvent* gdk_event); | |
15 | |
16 } // namespace views | |
17 | |
18 #endif // VIEWS_TOUCHUI_TOUCH_EVENT_DISPATCHER_GTK_H_ | |
OLD | NEW |