summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/jscompiler_hacks.js
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 00:28:01 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 00:28:01 +0000
commitd411762a5e07707e85c07248b82631ed12822cfd (patch)
treeecf55bfbf31dccef4f2bbb8382855994e205ec1c /remoting/webapp/jscompiler_hacks.js
parentfecd0ba29d3b380fee34ede8b8c709fefd804025 (diff)
downloadchromium_src-d411762a5e07707e85c07248b82631ed12822cfd.zip
chromium_src-d411762a5e07707e85c07248b82631ed12822cfd.tar.gz
chromium_src-d411762a5e07707e85c07248b82631ed12822cfd.tar.bz2
Added screen options menu.
BUG=119092 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9884001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/jscompiler_hacks.js')
-rw-r--r--remoting/webapp/jscompiler_hacks.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/remoting/webapp/jscompiler_hacks.js b/remoting/webapp/jscompiler_hacks.js
new file mode 100644
index 0000000..1d3bc3e
--- /dev/null
+++ b/remoting/webapp/jscompiler_hacks.js
@@ -0,0 +1,19 @@
+// 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;
+
+/** @return {void} Nothing. */
+Document.prototype.webkitCancelFullScreen = function() {};
+
+/** @type {boolean} */
+Document.prototype.webkitIsFullScreen;
+
+/** @return {void} Nothing. */
+Element.prototype.webkitRequestFullScreen = function() {};