| Index: third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox-extracted.js
|
| deleted file mode 100644
|
| index c166e07b8d1ffab01926898eb97466b3e1371fa0..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox-extracted.js
|
| +++ /dev/null
|
| @@ -1,87 +0,0 @@
|
| -
|
| - Polymer({
|
| - is: 'paper-checkbox',
|
| -
|
| - behaviors: [
|
| - Polymer.PaperRadioButtonBehavior
|
| - ],
|
| -
|
| - hostAttributes: {
|
| - role: 'checkbox',
|
| - 'aria-checked': false,
|
| - tabindex: 0
|
| - },
|
| -
|
| - properties: {
|
| - /**
|
| - * Fired when the checked state changes due to user interaction.
|
| - *
|
| - * @event change
|
| - */
|
| -
|
| - /**
|
| - * Fired when the checked state changes.
|
| - *
|
| - * @event iron-change
|
| - */
|
| -
|
| - /**
|
| - * Gets or sets the state, `true` is checked and `false` is unchecked.
|
| - */
|
| - checked: {
|
| - type: Boolean,
|
| - value: false,
|
| - reflectToAttribute: true,
|
| - notify: true,
|
| - observer: '_checkedChanged'
|
| - },
|
| -
|
| - /**
|
| - * If true, the button toggles the active state with each tap or press
|
| - * of the spacebar.
|
| - */
|
| - toggles: {
|
| - type: Boolean,
|
| - value: true,
|
| - reflectToAttribute: true
|
| - }
|
| - },
|
| -
|
| - ready: function() {
|
| - if (Polymer.dom(this).textContent == '') {
|
| - this.$.checkboxLabel.hidden = true;
|
| - } else {
|
| - this.setAttribute('aria-label', Polymer.dom(this).textContent);
|
| - }
|
| - this._isReady = true;
|
| - },
|
| -
|
| - // button-behavior hook
|
| - _buttonStateChanged: function() {
|
| - if (this.disabled) {
|
| - return;
|
| - }
|
| - if (this._isReady) {
|
| - this.checked = this.active;
|
| - }
|
| - },
|
| -
|
| - _checkedChanged: function(checked) {
|
| - this.setAttribute('aria-checked', this.checked ? 'true' : 'false');
|
| - this.active = this.checked;
|
| - this.fire('iron-change');
|
| - },
|
| -
|
| - _computeCheckboxClass: function(checked) {
|
| - if (checked) {
|
| - return 'checked';
|
| - }
|
| - },
|
| -
|
| - _computeCheckmarkClass: function(checked) {
|
| - if (!checked) {
|
| - return 'hidden';
|
| - }
|
| - }
|
| - })
|
| -
|
|
|