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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/paper-dialog/paper-dialog-extracted.js

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1
2
3 (function() {
4
5 Polymer({
6
7 is: 'paper-dialog',
8
9 behaviors: [
10 Polymer.PaperDialogBehavior,
11 Polymer.NeonAnimationRunnerBehavior
12 ],
13
14 listeners: {
15 'neon-animation-finish': '_onNeonAnimationFinish'
16 },
17
18 _renderOpened: function() {
19 if (this.withBackdrop) {
20 this.backdropElement.open();
21 }
22 this.playAnimation('entry');
23 },
24
25 _renderClosed: function() {
26 if (this.withBackdrop) {
27 this.backdropElement.close();
28 }
29 this.playAnimation('exit');
30 },
31
32 _onNeonAnimationFinish: function() {
33 if (this.opened) {
34 this._finishRenderOpened();
35 } else {
36 this._finishRenderClosed();
37 }
38 }
39
40 });
41
42 })();
43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698