blob: 09dc1ba2c996a430f0fe8508059079e1b4b36dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file contains various hacks needed to inform JSCompiler of various
// WebKit-specific properties and methods. It is used only with JSCompiler
// to verify the type-correctness of our code.
/** @type Array.<HTMLElement> */
Document.prototype.all;
/** @type {function(string): void} */
Document.prototype.execCommand = function(command) {};
/** @return {void} Nothing. */
Document.prototype.webkitCancelFullScreen = function() {};
/** @type {boolean} */
Document.prototype.webkitIsFullScreen;
/** @type {number} */
Element.ALLOW_KEYBOARD_INPUT;
/** @param {number} flags
/** @return {void} Nothing. */
Element.prototype.webkitRequestFullScreen = function(flags) {};
/** @type {{getRandomValues: function(Uint16Array):void}} */
Window.prototype.crypto;
|