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

Unified Diff: ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.js

Issue 1215543002: Remove Polymer 0.5. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.js
diff --git a/ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.js b/ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.js
deleted file mode 100644
index daa2af00a40d7db3b3cfd7101b11383e0e2118d3..0000000000000000000000000000000000000000
--- a/ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.js
+++ /dev/null
@@ -1,46 +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-toggle-button` provides a switch the user can toggle on or off by
- * tapping or by dragging. Wraps a `paper-toggle-button`.
- *
- * Example:
- *
- * <cr-toggle-button></cr-toggle-button>
- *
- * @element cr-toggle-button
- */
-Polymer({
- publish: {
- /**
- * Gets or sets the state. `true` is checked and `false` is unchecked.
- *
- * @attribute checked
- * @type boolean
- * @default false
- */
- checked: {
- value: false,
- reflect: true,
- },
-
- /**
- * If true, the toggle button is disabled.
- *
- * @attribute disabled
- * @type boolean
- * @default false
- */
- disabled: {
- value: false,
- reflect: true,
- },
- },
-
- ready: function() {
- this.$.events.forward(this.$.button, ['change']);
- },
-});
« no previous file with comments | « ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html ('k') | ui/webui/resources/cr_elements_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698