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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/neon-animation/neon-shared-element-animation-behavior-extracted.js

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 unified diff | Download patch
OLDNEW
1 1
2 2
3 /** 3 /**
4 * Use `Polymer.NeonSharedElementAnimationBehavior` to implement shared elemen t animations. 4 * Use `Polymer.NeonSharedElementAnimationBehavior` to implement shared elemen t animations.
5 * @polymerBehavior 5 * @polymerBehavior Polymer.NeonSharedElementAnimationBehavior
6 */ 6 */
7 Polymer.NeonSharedElementAnimationBehavior = [Polymer.NeonAnimationBehavior, { 7 Polymer.NeonSharedElementAnimationBehaviorImpl = {
8 8
9 properties: { 9 properties: {
10 10
11 /** 11 /**
12 * Cached copy of shared elements. 12 * Cached copy of shared elements.
13 */ 13 */
14 sharedElements: { 14 sharedElements: {
15 type: Object 15 type: Object
16 } 16 }
17 17
(...skipping 23 matching lines...) Expand all
41 return null; 41 return null;
42 } 42 }
43 43
44 this.sharedElements = { 44 this.sharedElements = {
45 from: from, 45 from: from,
46 to: to 46 to: to
47 }; 47 };
48 return this.sharedElements; 48 return this.sharedElements;
49 } 49 }
50 50
51 }]; 51 };
52 52
53 /** @polymerBehavior Polymer.NeonSharedElementAnimationBehavior */
54 Polymer.NeonSharedElementAnimationBehavior = [
55 Polymer.NeonAnimationBehavior,
56 Polymer.NeonSharedElementAnimationBehaviorImpl
57 ];
58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698