| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 Polymer({ | 5 Polymer({ |
| 6 is: 'gaia-button', | 6 is: 'gaia-button', |
| 7 | 7 |
| 8 properties: { | 8 properties: { |
| 9 disabled: { | 9 disabled: { |
| 10 type: Boolean, | 10 type: Boolean, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 focus: function() { | 61 focus: function() { |
| 62 this.$.iconButton.focus(); | 62 this.$.iconButton.focus(); |
| 63 }, | 63 }, |
| 64 | 64 |
| 65 onClick_: function(e) { | 65 onClick_: function(e) { |
| 66 if (this.disabled) | 66 if (this.disabled) |
| 67 e.stopPropagation(); | 67 e.stopPropagation(); |
| 68 } | 68 } |
| 69 }); | 69 }); |
| 70 | |
| OLD | NEW |