| Index: remoting/webapp/jscompiler_hacks.js
|
| diff --git a/remoting/webapp/jscompiler_hacks.js b/remoting/webapp/jscompiler_hacks.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0b579e49b14be6729c4c99cd973eb6c17499caf5
|
| --- /dev/null
|
| +++ b/remoting/webapp/jscompiler_hacks.js
|
| @@ -0,0 +1,16 @@
|
| +// 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 {boolean} */
|
| +document.webkitIsFullScreen;
|
| +
|
| +/** @return {void} Nothing. */
|
| +Element.prototype.webkitRequestFullScreen = function() {};
|
| +
|
| +/** @return {void} Nothing. */
|
| +Document.prototype.webkitCancelFullScreen = function() {};
|
|
|