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

Unified Diff: ui/events/keycodes/dom4/keycode_converter.h

Issue 756643006: Remote assistance on Chrome OS Part IX - Input injection on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Ozone_input_injection
Patch Set: Address feedback (wez) Created 6 years 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/keycodes/dom4/keycode_converter.h
diff --git a/ui/events/keycodes/dom4/keycode_converter.h b/ui/events/keycodes/dom4/keycode_converter.h
index 060b7cfdbb8490223a84eec085fa9323ca2bde45..1ed0d1231488ebf85e015d5075980b98c8d31d56 100644
--- a/ui/events/keycodes/dom4/keycode_converter.h
+++ b/ui/events/keycodes/dom4/keycode_converter.h
@@ -85,6 +85,9 @@ class KeycodeConverter {
// The returned pointer references a static global string.
static const char* UsbKeycodeToCode(uint32_t usb_keycode);
+ // Convert a USB keycode into a DomCode.
+ static DomCode UsbKeycodeToDomCode(uint32_t usb_keycode);
+
// Convert a DOM3 Event |code| string into a USB keycode value.
static uint32_t CodeToUsbKeycode(const char* code);

Powered by Google App Engine
This is Rietveld 408576698