Backed out changeset 8fc3326bce7f (bug 1943032) for causing failures at browser_tab_g...
[gecko.git] / dom / canvas / test / webgl-conf / checkout / deqp / temp_externs / gecko_event.js
blobcf3b21bf1c769c4975c94f16274b4068dea482b6
1 /*
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.
17 /**
18 * @fileoverview Definitions for all the extensions over
19 * W3C's event specification by Gecko. This file depends on
20 * w3c_event.js.
22 * @externs
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;
56 //Methods
57 Event.prototype.initKeyEvent;
58 Event.prototype.initMouseEvent;
59 Event.prototype.initUIEvent;
60 Event.prototype.initMessageEvent;
61 Event.prototype.preventBubble;
62 Event.prototype.preventCapture;