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

Unified Diff: third_party/closure_compiler/externs/chrome_send_externs.js

Issue 405743002: Typecheck some of ui/webui/resources/js/ with Closure compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cr.isMac fix Created 6 years, 4 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
Index: third_party/closure_compiler/externs/chrome_send_externs.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/options_loader.js b/third_party/closure_compiler/externs/chrome_send_externs.js
similarity index 51%
copy from chrome/browser/resources/chromeos/chromevox/chromevox/background/options_loader.js
copy to third_party/closure_compiler/externs/chrome_send_externs.js
index ec7999afeabaac98adb6ad748c24277504461b4a..3d55f1891cd38d88573e3ebfacc08dac5cf2d484 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/options_loader.js
+++ b/third_party/closure_compiler/externs/chrome_send_externs.js
@@ -3,8 +3,12 @@
// found in the LICENSE file.
/**
- * @fileoverview Loads the options script.
- *
+ * @fileoverview Externs for global |chrome| object.
+ * @externs
*/
-goog.require('cvox.OptionsPage');
+/**
+ * @param {string} msg
+ * @param {Array=} opt_args
+ */
+chrome.send = function(msg, opt_args) {};
« no previous file with comments | « third_party/closure_compiler/checker.py ('k') | third_party/closure_compiler/externs/pending_compiler_externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698