| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file contains various hacks needed to inform JSCompiler of various | 5 // This file contains various hacks needed to inform JSCompiler of various |
| 6 // WebKit- and Chrome-specific properties and methods. It is used only with | 6 // WebKit- and Chrome-specific properties and methods. It is used only with |
| 7 // JSCompiler to verify the type-correctness of our code. | 7 // JSCompiler to verify the type-correctness of our code. |
| 8 | 8 |
| 9 /** @type {HTMLElement} */ | 9 /** @type {HTMLElement} */ |
| 10 Document.prototype.activeElement; | 10 Document.prototype.activeElement; |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 screenX, screenY, clientX, clientY, | 255 screenX, screenY, clientX, clientY, |
| 256 ctrlKey, altKey, shiftKey, metaKey, | 256 ctrlKey, altKey, shiftKey, metaKey, |
| 257 button, relatedTarget) {}; | 257 button, relatedTarget) {}; |
| 258 | 258 |
| 259 /** | 259 /** |
| 260 * @param {number} begin | 260 * @param {number} begin |
| 261 * @param {number=} end | 261 * @param {number=} end |
| 262 * @return {ArrayBuffer} | 262 * @return {ArrayBuffer} |
| 263 */ | 263 */ |
| 264 ArrayBuffer.prototype.slice = function(begin, end) {}; | 264 ArrayBuffer.prototype.slice = function(begin, end) {}; |
| 265 |
| 266 /** |
| 267 * @return {string} |
| 268 */ |
| 269 Date.prototype.toISOString = function() {}; |
| OLD | NEW |