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

Unified Diff: ui/webui/resources/js/template_data_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
« no previous file with comments | « ui/webui/resources/js/parse_html_subset.js ('k') | ui/webui/resources/js/util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/template_data_externs.js
diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java b/ui/webui/resources/js/template_data_externs.js
similarity index 60%
copy from mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
copy to ui/webui/resources/js/template_data_externs.js
index 0b8592d52a4ecbd40ca8f57f622100302eee0ac7..d5b8fb9290617834b5dec4f927f08a3542c391b3 100644
--- a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
+++ b/ui/webui/resources/js/template_data_externs.js
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.mojo.bindings;
-
/**
- * Base class for mojo generated interfaces.
+ * @fileoverview Externs for |templateData| global.
+ * @externs
*/
-public interface Interface {
-}
+/** @type {!Object|undefined} */
+var templateData;
« no previous file with comments | « ui/webui/resources/js/parse_html_subset.js ('k') | ui/webui/resources/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698