2 * Copyright 2008 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 all the extensions over
19 * W3C's event specification by Gecko. This file depends on
25 // TODO: Almost all of it has not been annotated with types.
27 /** @type {number} */ Event
.prototype.HORIZONTAL_AXIS
;
28 /** @type {number} */ Event
.prototype.VERTICAL_AXIS
;
29 /** @type {boolean} */ Event
.prototype.altKey
;
30 /** @type {number} */ Event
.prototype.axis
;
31 /** @type {number} */ Event
.prototype.button
;
32 /** @type {boolean} */ Event
.prototype.cancelBubble
;
33 /** @type {number} */ Event
.prototype.charCode
;
34 /** @type {number} */ Event
.prototype.clientX
;
35 /** @type {number} */ Event
.prototype.clientY
;
36 /** @type {boolean} */ Event
.prototype.ctrlKey
;
37 /** @type {EventTarget} */ Event
.prototype.explicitOriginalTarget
;
38 /** @type {boolean} */ Event
.prototype.isChar
;
39 /** @type {number} */ Event
.prototype.keyCode
;
40 /** @type {number} */ Event
.prototype.layerX
;
41 /** @type {number} */ Event
.prototype.layerY
;
42 /** @type {boolean} */ Event
.prototype.metaKey
;
43 /** @type {EventTarget} */ Event
.prototype.originalTarget
;
44 /** @type {number} */ Event
.prototype.pageX
;
45 /** @type {number} */ Event
.prototype.pageY
;
46 /** @type {EventTarget} */ Event
.prototype.relatedTarget
;
47 /** @type {number} */ Event
.prototype.screenX
;
48 /** @type {number} */ Event
.prototype.screenY
;
49 /** @type {boolean} */ Event
.prototype.shiftKey
;
50 /** @type {Window} */ Event
.prototype.view
;
51 /** @type {number} */ Event
.prototype.which
;
53 /** @constructor */ function nsIDOMPageTransitionEvent() {}
54 /** @type {boolean} */ nsIDOMPageTransitionEvent
.prototype.persisted
;
57 Event
.prototype.initKeyEvent
;
58 Event
.prototype.initMouseEvent
;
59 Event
.prototype.initUIEvent
;
60 Event
.prototype.initMessageEvent
;
61 Event
.prototype.preventBubble
;
62 Event
.prototype.preventCapture
;