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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 663523002: Adding support for DOM3 KeyboardEvents Code in KeyboardEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to use domCode instead of native domCode 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: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 5e21123d026f58b4ec1f0cfb3f5fde7051ac52ba..e7b70caace8ea4eb514657276a57b31ee97648bd 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -963,6 +963,7 @@ bool WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event)
LocalFrame* frame = toLocalFrame(focusedFrame.get());
PlatformKeyboardEventBuilder evt(event);
+ evt.setKeyboardEventDOMCodeValue(m_client->keyboardDOMCodeValue(evt.domCode()));
Wez 2015/01/08 01:14:48 It reads very oddly to be passing evt.domCode() in
Habib Virji 2015/01/12 15:34:17 I have deferred it, please have a look. It now hap
Wez 2015/01/17 02:35:10 SGTM - please check w/ e.g. rbyers@ that the frame
if (frame->eventHandler().keyEvent(evt)) {
if (WebInputEvent::RawKeyDown == event.type) {

Powered by Google App Engine
This is Rietveld 408576698