| Index: third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior-extracted.js
|
| index c73c13171d5f90577cf654a2dac79cb904d83dd0..eaf45191f6fc75a632695305c9cfc6217b8be05b 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior-extracted.js
|
| @@ -120,17 +120,6 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|
|
| },
|
|
|
| -/**
|
| - * Fired after the `iron-overlay` opens.
|
| - * @event iron-overlay-opened
|
| - */
|
| -
|
| -/**
|
| - * Fired after the `iron-overlay` closes.
|
| - * @event iron-overlay-closed {{canceled: boolean}} detail -
|
| - * canceled: True if the overlay was canceled.
|
| - */
|
| -
|
| listeners: {
|
| 'click': '_onClick',
|
| 'iron-resize': '_onIronResize'
|
| @@ -232,7 +221,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
| // overlay becomes visible here
|
| this.style.display = '';
|
| // force layout to ensure transitions will go
|
| - this.offsetWidth;
|
| + /** @suppress {suspiciousCode} */ this.offsetWidth;
|
| if (this.opened) {
|
| this._renderOpened();
|
| } else {
|
| @@ -356,7 +345,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
| this.style.display = 'none';
|
| this.style.transform = this.style.webkitTransform = '';
|
| // force layout to avoid application of transform
|
| - this.offsetWidth;
|
| + /** @suppress {suspiciousCode} */ this.offsetWidth;
|
| this.style.transition = this.style.webkitTransition = '';
|
| },
|
|
|
| @@ -407,6 +396,16 @@ context. You should place this element as a child of `<body>` whenever possible.
|
| }
|
| }
|
|
|
| +/**
|
| + * Fired after the `iron-overlay` opens.
|
| + * @event iron-overlay-opened
|
| + */
|
| +
|
| +/**
|
| + * Fired after the `iron-overlay` closes.
|
| + * @event iron-overlay-closed
|
| + * @param {{canceled: (boolean|undefined)}} set to the `closingReason` attribute
|
| + */
|
| };
|
|
|
| /** @polymerBehavior */
|
|
|