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

Unified Diff: chrome/browser/chromeos/views/native_menu_domui.h

Issue 3801011: touchui: Directly process key and mouse events. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: nit Created 10 years, 2 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
« no previous file with comments | « base/message_pump_glib_x_dispatch.h ('k') | chrome/browser/chromeos/views/native_menu_domui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/views/native_menu_domui.h
diff --git a/chrome/browser/chromeos/views/native_menu_domui.h b/chrome/browser/chromeos/views/native_menu_domui.h
index fb03604e92365225548606fd6432ee32882049fb..03a6b9295a769a43ab835609b320a175df26f481 100644
--- a/chrome/browser/chromeos/views/native_menu_domui.h
+++ b/chrome/browser/chromeos/views/native_menu_domui.h
@@ -27,6 +27,10 @@ namespace views {
class NestedDispatcherGtk;
} // namespace views;
+#if defined(TOUCH_UI)
+typedef union _XEvent XEvent;
+#endif
+
namespace chromeos {
class MenuLocator;
@@ -59,6 +63,9 @@ class NativeMenuDOMUI : public views::MenuWrapper,
// Overriden from MessageLoopForUI::Dispatcher:
virtual bool Dispatch(GdkEvent* event);
+#if defined(TOUCH_UI)
+ virtual bool Dispatch(XEvent* xevent);
+#endif
// Overriden from DOMUIMenuControl;
virtual menus::MenuModel* GetMenuModel() { return model_; }
« no previous file with comments | « base/message_pump_glib_x_dispatch.h ('k') | chrome/browser/chromeos/views/native_menu_domui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698