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

Unified Diff: third_party/polymer/v1_0/components-chromium/polymer-externs/polymer.externs.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/polymer/v1_0/components-chromium/polymer-externs/polymer.externs.js
diff --git a/third_party/polymer/v1_0/components-chromium/polymer-externs/polymer.externs.js b/third_party/polymer/v1_0/components-chromium/polymer-externs/polymer.externs.js
index bb1ab58291a30c4935eed14929c91826f7e3998a..293a41cdb2469414d09f7258c865caaaa590908c 100644
--- a/third_party/polymer/v1_0/components-chromium/polymer-externs/polymer.externs.js
+++ b/third_party/polymer/v1_0/components-chromium/polymer-externs/polymer.externs.js
@@ -350,6 +350,20 @@ Polymer.Base.async = function(method, wait) {};
*/
Polymer.Base.getPropertyInfo = function(property) {};
+Polymer.Gestures;
+
+/**
+ * Gets the original target of the given event.
+ *
+ * Cheaper than Polymer.dom(ev).path[0];
+ * See https://github.com/Polymer/polymer/blob/master/src/standard/gestures.html#L191
+ *
+ * @param {Event} ev .
+ * @return {Element} The original target of the event.
+ */
+Polymer.Gestures.findOriginalTarget = function(ev) {};
+
+
/**
* @param {number} handle
*/
@@ -425,6 +439,21 @@ PolymerElement.prototype.arrayDelete = function(array, item) {};
PolymerElement.prototype.resolveUrl = function(url) {};
/**
+ * Re-evaluates and applies custom CSS properties based on dynamic
+ * changes to this element's scope, such as adding or removing classes
+ * in this element's local DOM.
+ *
+ * For performance reasons, Polymer's custom CSS property shim relies
+ * on this explicit signal from the user to indicate when changes have
+ * been made that affect the values of custom properties.
+ *
+ * @param {Object=} properties Properties object which, if provided is mixed
+ * into the element's `customStyle` property. This argument provides a
+ * shortcut for setting `customStyle` and then calling `updateStyles`.
+ */
+PolymerElement.prototype.updateStyles = function(properties) {};
+
+/**
* Logs a message to the console.
*
* @param {!Array} var_args

Powered by Google App Engine
This is Rietveld 408576698