Gina Yeh
|
303bfb5736
|
Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki.
---
dom/events/BeforeAfterKeyboardEvent.cpp | 92 ++++++++++++++++++++++
dom/events/BeforeAfterKeyboardEvent.h | 45 +++++++++++
dom/events/EventDispatcher.cpp | 3 +
dom/events/KeyboardEvent.cpp | 60 ++++++++------
dom/events/KeyboardEvent.h | 8 +-
dom/events/moz.build | 2 +
dom/events/test/test_all_synthetic_events.html | 4 +
dom/interfaces/events/nsIDOMEvent.idl | 7 ++
dom/tests/mochitest/general/test_interfaces.html | 48 ++++++-----
dom/webidl/BeforeAfterKeyboardEvent.webidl | 24 ++++++
dom/webidl/moz.build | 1 +
11 files changed, 250 insertions(+), 44 deletions(-)
create mode 100644 dom/events/BeforeAfterKeyboardEvent.cpp
create mode 100644 dom/events/BeforeAfterKeyboardEvent.h
create mode 100644 dom/webidl/BeforeAfterKeyboardEvent.webidl
|
2014-10-14 15:09:20 +08:00 |
|