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

Unified Diff: appengine/config_service/ui/bower_components/polymer/externs/webcomponents-externs.js

Issue 2923973003: Added base template for config ui. (Closed)
Patch Set: Created 3 years, 6 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: appengine/config_service/ui/bower_components/polymer/externs/webcomponents-externs.js
diff --git a/appengine/config_service/ui/bower_components/polymer/externs/webcomponents-externs.js b/appengine/config_service/ui/bower_components/polymer/externs/webcomponents-externs.js
new file mode 100644
index 0000000000000000000000000000000000000000..f7bba2421fb71151479fd14d85d0abfbedc40529
--- /dev/null
+++ b/appengine/config_service/ui/bower_components/polymer/externs/webcomponents-externs.js
@@ -0,0 +1,45 @@
+/**
+ * @fileoverview Externs for webcomponents polyfills
+ * @externs
+ */
+
+let HTMLImports = {
+ /**
+ * @param {function()} callback
+ */
+ whenReady(callback){}
+};
+
+window.HTMLImports = HTMLImports;
+
+let ShadyDOM = {
+ inUse: false,
+ flush(){},
+ /**
+ * @param {!Node} target
+ * @param {function(Array<MutationRecord>, MutationObserver)} callback
+ * @return {MutationObserver}
+ */
+ observeChildren(target, callback){},
+ /**
+ * @param {MutationObserver} observer
+ */
+ unobserveChildren(observer){},
+ /**
+ * @param {Node} node
+ */
+ patch(node){}
+};
+
+window.ShadyDOM = ShadyDOM;
+
+let WebComponents = {};
+window.WebComponents = WebComponents;
+
+/** @type {Element} */
+HTMLElement.prototype._activeElement;
+
+/**
+ * @param {HTMLTemplateElement} template
+ */
+HTMLTemplateElement.prototype.decorate = function(template){};

Powered by Google App Engine
This is Rietveld 408576698