Changeset 69840 in webkit
- Timestamp:
- Oct 14, 2010 11:33:46 PM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r69834 r69840 1 2010-10-14 Wei Jia <wjia@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 Retrieve info of lock keys from stashed currentInputEvent which 6 is stored by chromium when it passes input event to WebCore. 7 Retrieving only when stashed event is a keyboard event, which 8 means synthetic KeyboardEvent inherits lock key state from real 9 keyboard event. 10 https://bugs.webkit.org/show_bug.cgi?id=46518 11 12 * src/WebPluginContainerImpl.cpp: 13 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 14 1 15 2010-10-14 John Abd-El-Malek <jam@chromium.org> 2 16 -
trunk/WebKit/chromium/src/WebPluginContainerImpl.cpp
r68869 r69840 469 469 } 470 470 471 const WebInputEvent* currentInputEvent = WebViewImpl::currentInputEvent(); 472 473 // Copy stashed info over, and only copy here in order not to interfere 474 // the ctrl-c logic above. 475 if (currentInputEvent 476 && WebInputEvent::isKeyboardEventType(currentInputEvent->type)) { 477 webEvent.modifiers |= currentInputEvent->modifiers & 478 (WebInputEvent::CapsLockOn | WebInputEvent::NumLockOn); 479 } 480 471 481 WebCursorInfo cursorInfo; 472 482 if (m_webPlugin->handleInputEvent(webEvent, cursorInfo))
Note: See TracChangeset
for help on using the changeset viewer.