OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 [Default=Undefined] o
ptional boolean shiftKey, | 53 [Default=Undefined] o
ptional boolean shiftKey, |
54 [Default=Undefined] o
ptional boolean metaKey); | 54 [Default=Undefined] o
ptional boolean metaKey); |
55 | 55 |
56 // https://w3c.github.io/uievents/#KeyboardEvent-supplemental-interface | 56 // https://w3c.github.io/uievents/#KeyboardEvent-supplemental-interface |
57 readonly attribute long charCode; | 57 readonly attribute long charCode; |
58 readonly attribute long keyCode; | 58 readonly attribute long keyCode; |
59 readonly attribute long which; | 59 readonly attribute long which; |
60 | 60 |
61 // Non-standard APIs | 61 // Non-standard APIs |
62 [Measure] readonly attribute DOMString keyIdentifier; | 62 [Measure] readonly attribute DOMString keyIdentifier; |
63 [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation] readonly attr
ibute unsigned long keyLocation; | |
64 }; | 63 }; |
OLD | NEW |