webkit_event.js (1341B)
1 /* 2 * Copyright 2009 The Closure Compiler Authors 3 * 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 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 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. 15 */ 16 17 /** 18 * @fileoverview Definitions for all the extensions over W3C's 19 * event specification by WebKit. This file depends on w3c_event.js. 20 * All the provided definitions have been type annotated 21 * 22 * @externs 23 */ 24 25 /** @type {number} */ 26 Event.prototype.wheelDeltaX; 27 28 /** @type {number} */ 29 Event.prototype.wheelDeltaY; 30 31 /** 32 * @constructor 33 * @extends {Event} 34 * @see http://developer.apple.com/library/safari/documentation/AudioVideo/Reference/WebKitAnimationEventClassReference/WebKitAnimationEvent/WebKitAnimationEvent.html 35 */ 36 function WebKitAnimationEvent() {} 37 38 /** 39 * @type {string} 40 * @const 41 */ 42 WebKitAnimationEvent.prototype.animationName; 43 44 /** 45 * @type {number} 46 * @const 47 */ 48 WebKitAnimationEvent.prototype.elapsedTime;