2 * Copyright 2010 The Closure Compiler Authors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @fileoverview Definitions for W3C's event Level 3 specification.
19 * This file depends on w3c_event.js.
20 * The whole file has been partially type annotated.
22 * http://www.w3.org/TR/DOM-Level-3-Events/#ecma-script-binding-ecma-binding
28 * @param {string} typeArg
29 * @param {boolean} canBubbleArg
30 * @param {boolean} cancelableArg
31 * @param {Window} viewArg
32 * @param {string} keyIdentifierArg
33 * @param {number} keyLocationArg
34 * @param {string} modifiersList
36 KeyboardEvent.prototype.initKeyboardEvent = function(typeArg, canBubbleArg, cancelableArg, viewArg, keyIdentifierArg, keyLocationArg, modifiersList) {};
39 KeyboardEvent.prototype.char;
42 KeyboardEvent.prototype.key;
45 KeyboardEvent.prototype.location;
47 /** @type {boolean} */
48 KeyboardEvent.prototype.repeat;
51 KeyboardEvent.prototype.locale;
54 MouseEvent.prototype.buttons;
56 /** @type {boolean} */
57 Event.prototype.defaultPrevented;
60 Event.prototype.namespaceURI;
62 /** @return {undefined} */
63 Event.prototype.stopImmediatePropagation = function() {};