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

Unified Diff: ui/events/test/events_test_utils_x11.h

Issue 336403005: Use XInput2 events for keyboard events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments (derat), the sequel. Created 6 years, 6 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
Index: ui/events/test/events_test_utils_x11.h
diff --git a/ui/events/test/events_test_utils_x11.h b/ui/events/test/events_test_utils_x11.h
index 090a857b830a90256ce4b367ea7eee9ac40a5eb8..dd8c504fb9d55a8396f23f728a3ff43e76e15450 100644
--- a/ui/events/test/events_test_utils_x11.h
+++ b/ui/events/test/events_test_utils_x11.h
@@ -42,6 +42,11 @@ class ScopedXI2Event {
KeyboardCode key_code,
int flags);
+ void InitGenericKeyEvent(int deviceid,
+ EventType type,
+ KeyboardCode key_code,
+ int flags);
+
void InitGenericButtonEvent(int deviceid,
EventType type,
const gfx::Point& location,

Powered by Google App Engine
This is Rietveld 408576698