| Index: ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.js
|
| diff --git a/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.js b/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.js
|
| deleted file mode 100644
|
| index 38b46f1fcdc2812ea017e0b9d8e3c1e146ed44a1..0000000000000000000000000000000000000000
|
| --- a/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.js
|
| +++ /dev/null
|
| @@ -1,70 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -/**
|
| - * @fileoverview
|
| - * 'cr-button' is a chrome-specific wrapper around paper-button.
|
| - *
|
| - * Example:
|
| - *
|
| - * <cr-button>Press Here</cr-button>
|
| - * <cr-button raised>Raised Button</cr-button>
|
| - * <cr-button>
|
| - * <iron-icon icon="favorite"></iron-icon> Custom button
|
| - * </cr-button>
|
| - *
|
| - * @group Chrome Elements
|
| - * @element cr-button
|
| - */
|
| -Polymer({
|
| - is: 'cr-button',
|
| -
|
| - properties: {
|
| - /**
|
| - * If true, the button will be styled with a shadow.
|
| - */
|
| - raised: {
|
| - type: Boolean,
|
| - value: false,
|
| - reflectToAttribute: true
|
| - },
|
| -
|
| - /**
|
| - * If true, the button will be disabled and greyed out.
|
| - */
|
| - disabled: {
|
| - type: Boolean,
|
| - value: false,
|
| - reflectToAttribute: true
|
| - },
|
| -
|
| - /**
|
| - * If true, clicking the button toggles the active state.
|
| - */
|
| - toggles: {
|
| - type: Boolean,
|
| - value: false
|
| - },
|
| -
|
| - noink: {
|
| - type: Boolean,
|
| - value: false,
|
| - },
|
| -
|
| - /**
|
| - * If true, the button is in the active state. Mostly useful when
|
| - * |toggles| is true.
|
| - */
|
| - active: {
|
| - type: Boolean,
|
| - value: false,
|
| - notify: true
|
| - }
|
| - },
|
| -
|
| - /** @private */
|
| - computeNoInk_: function() {
|
| - return this.toggles || this.noink;
|
| - },
|
| -});
|
|
|