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

Side by Side Diff: third_party/polymer/components/paper-icon-button/paper-icon-button-light.html

Issue 3010683002: Update Polymer components. (Closed)
Patch Set: Rebase Created 3 years, 3 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 @license 2 @license
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --> 9 -->
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ], 68 ],
69 69
70 listeners: { 70 listeners: {
71 'down': '_rippleDown', 71 'down': '_rippleDown',
72 'up': '_rippleUp', 72 'up': '_rippleUp',
73 'focus': '_rippleDown', 73 'focus': '_rippleDown',
74 'blur': '_rippleUp', 74 'blur': '_rippleUp',
75 }, 75 },
76 76
77 _rippleDown: function() { 77 _rippleDown: function() {
78 this.getRipple().downAction(); 78 this.getRipple().uiDownAction();
79 }, 79 },
80 80
81 _rippleUp: function() { 81 _rippleUp: function() {
82 this.getRipple().upAction(); 82 this.getRipple().uiUpAction();
83 }, 83 },
84 84
85 /** 85 /**
86 * @param {...*} var_args 86 * @param {...*} var_args
87 */ 87 */
88 ensureRipple: function(var_args) { 88 ensureRipple: function(var_args) {
89 var lastRipple = this._ripple; 89 var lastRipple = this._ripple;
90 Polymer.PaperRippleBehavior.ensureRipple.apply(this, arguments); 90 Polymer.PaperRippleBehavior.ensureRipple.apply(this, arguments);
91 if (this._ripple && this._ripple !== lastRipple) { 91 if (this._ripple && this._ripple !== lastRipple) {
92 this._ripple.center = true; 92 this._ripple.center = true;
93 this._ripple.classList.add('circle'); 93 this._ripple.classList.add('circle');
94 } 94 }
95 } 95 }
96 }); 96 });
97 </script> 97 </script>
98 </dom-module> 98 </dom-module>
OLDNEW
« no previous file with comments | « third_party/polymer/components/paper-icon-button/bower.json ('k') | third_party/polymer/components/paper-input/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698