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

Unified Diff: third_party/polymer/components-chromium/paper-checkbox/paper-checkbox-extracted.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: third_party/polymer/components-chromium/paper-checkbox/paper-checkbox-extracted.js
diff --git a/third_party/polymer/components-chromium/paper-checkbox/paper-checkbox-extracted.js b/third_party/polymer/components-chromium/paper-checkbox/paper-checkbox-extracted.js
deleted file mode 100644
index 553257268baf9bce8da6a516fcb2aee8f37c4e5f..0000000000000000000000000000000000000000
--- a/third_party/polymer/components-chromium/paper-checkbox/paper-checkbox-extracted.js
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
- Polymer('paper-checkbox', {
-
- /**
- * Fired when the checked state changes due to user interaction.
- *
- * @event change
- */
-
- /**
- * Fired when the checked state changes.
- *
- * @event core-change
- */
-
- toggles: true,
-
- checkedChanged: function() {
- this.$.checkbox.classList.toggle('checked', this.checked);
- this.setAttribute('aria-checked', this.checked ? 'true': 'false');
- this.$.checkmark.classList.toggle('hidden', !this.checked);
- this.fire('core-change');
- },
-
- checkboxAnimationEnd: function() {
- var cl = this.$.checkmark.classList;
- cl.toggle('hidden', !this.checked && cl.contains('hidden'));
- }
-
- });
-

Powered by Google App Engine
This is Rietveld 408576698