diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-07-11 08:25:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-11 08:25:45 -0700 |
commit | 9e010a8aec7f99fd15bf6334f84c39a3229d115f (patch) | |
tree | 5155e73019ed45c977c8d262f533496b08182544 /components/script/dom/webidls/EventModifierInit.webidl | |
parent | 3ad7261e29a7e0bf96e54b1c63439c3512e12e19 (diff) | |
parent | d26bb29bb27eb6f17cd4fb79215e076d0b5139b7 (diff) | |
download | servo-9e010a8aec7f99fd15bf6334f84c39a3229d115f.tar.gz servo-9e010a8aec7f99fd15bf6334f84c39a3229d115f.zip |
Auto merge of #12383 - zeusintuivo:feature/11611, r=nox
Rename SharedKeyboardAndMouseEventInit to EventModifierInit
<!-- Please describe your changes on the following line: -->
- [X] renamed file SharedMouseAndKeyboardEventInit,
- [X] changed SharedKeyboardAndMouseEventInit to EventModifierInit.
- [X] Rebased mozilla/master into it.
- [x] Ran build and tidy test without errors
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11611 (github issue number if applicable).
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12383)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls/EventModifierInit.webidl')
-rw-r--r-- | components/script/dom/webidls/EventModifierInit.webidl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/components/script/dom/webidls/EventModifierInit.webidl b/components/script/dom/webidls/EventModifierInit.webidl new file mode 100644 index 00000000000..f61ba1b8219 --- /dev/null +++ b/components/script/dom/webidls/EventModifierInit.webidl @@ -0,0 +1,22 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// https://w3c.github.io/uievents/#dictdef-eventmodifierinit +dictionary EventModifierInit : UIEventInit { + boolean ctrlKey = false; + boolean shiftKey = false; + boolean altKey = false; + boolean metaKey = false; + boolean keyModifierStateAltGraph = false; + boolean keyModifierStateCapsLock = false; + boolean keyModifierStateFn = false; + boolean keyModifierStateFnLock = false; + boolean keyModifierStateHyper = false; + boolean keyModifierStateNumLock = false; + boolean keyModifierStateOS = false; + boolean keyModifierStateScrollLock = false; + boolean keyModifierStateSuper = false; + boolean keyModifierStateSymbol = false; + boolean keyModifierStateSymbolLock = false; +}; |