Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2298)

Unified Diff: remoting/webapp/jscompiler_hacks.js

Issue 9884001: Added screen options menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified onShow callback. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/event_handlers.js ('k') | remoting/webapp/main.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1d3bc3e0c61de7108a53512d7e4e2f719d30f725
--- /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() {};
« no previous file with comments | « remoting/webapp/event_handlers.js ('k') | remoting/webapp/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698