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

Unified Diff: ui/webui/resources/js/template_data_externs.js

Issue 369643002: Lay groudwork to Closure compile JavaScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more compiled Created 6 years, 5 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: ui/webui/resources/js/template_data_externs.js
diff --git a/mojo/bindings/java/src/org/chromium/mojo/bindings/Interface.java b/ui/webui/resources/js/template_data_externs.js
similarity index 60%
copy from mojo/bindings/java/src/org/chromium/mojo/bindings/Interface.java
copy to ui/webui/resources/js/template_data_externs.js
index 0b8592d52a4ecbd40ca8f57f622100302eee0ac7..d5b8fb9290617834b5dec4f927f08a3542c391b3 100644
--- a/mojo/bindings/java/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;

Powered by Google App Engine
This is Rietveld 408576698