Index: ui/webui/resources/cr_elements/v1_0/cr_expand_button/cr_expand_button.js |
diff --git a/ui/webui/resources/cr_elements/v1_0/cr_expand_button/cr_expand_button.js b/ui/webui/resources/cr_elements/v1_0/cr_expand_button/cr_expand_button.js |
deleted file mode 100644 |
index c75d3622b736f416bbc219e140a110620b664c19..0000000000000000000000000000000000000000 |
--- a/ui/webui/resources/cr_elements/v1_0/cr_expand_button/cr_expand_button.js |
+++ /dev/null |
@@ -1,44 +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-expand-button' is a chrome-specific wrapper around paper-icon-button that |
- * toggles between an opened (expanded) and closed state. |
- * |
- * Example: |
- * |
- * <cr-expand-button expanded="{{sectionIsExpanded}}"></cr-expand-button> |
- * |
- * @group Chrome Elements |
- * @element cr-expand-button |
- */ |
-Polymer({ |
- is: 'cr-expand-button', |
- |
- properties: { |
- /** |
- * If true, the button is in the expanded state and will show the |
- * 'expand-less' icon. If false, the button shows the 'expand-more' icon. |
- */ |
- expanded: { |
- type: Boolean, |
- value: false, |
- notify: true |
- }, |
- |
- /** |
- * If true, the button will be disabled and greyed out. |
- */ |
- disabled: { |
- type: Boolean, |
- value: false, |
- reflectToAttribute: true |
- }, |
- }, |
- |
- iconName_: function(expanded) { |
- return expanded ? 'expand-less' : 'expand-more'; |
- } |
-}); |