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

Unified Diff: public/web/WebInputEvent.h

Issue 663523002: Adding support for DOM3 KeyboardEvents Code in KeyboardEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Embedder API are part of Platform.h instead of WebViewClient.h Created 5 years, 11 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: public/web/WebInputEvent.h
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h
index 74ad0b11100e3bb5eb641329501fd534e70b10a6..8453cb1e1e1bfb34a433fe3feaa14f0c2ab13220 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -237,6 +237,10 @@ public:
// doesn't hurt to have this one around.
int nativeKeyCode;
+ // The DOM code enum of the key pressed as passed by the embedder. DOM
+ // code enum are defined in ui/events/keycodes/dom4/keycode_converter_data.h.
+ int domCode;
Mike West 2015/01/29 11:49:35 Nit: "domKeyCode"?
Habib Virji 2015/01/29 12:24:14 There are 2 DOM3 Keyboard Event specs, http://www.
+
// This identifies whether this event was tagged by the system as being
// a "system key" event (see
// http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for

Powered by Google App Engine
This is Rietveld 408576698