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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-card/paper-card-extracted.js

Issue 1930603003: Remove unused Polymer elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/v1_0/components-chromium/paper-card/paper-card-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/paper-card/paper-card-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-card/paper-card-extracted.js
deleted file mode 100644
index 55a5c9e0027f936cf1968319a3e0f69c7050cd81..0000000000000000000000000000000000000000
--- a/third_party/polymer/v1_0/components-chromium/paper-card/paper-card-extracted.js
+++ /dev/null
@@ -1,85 +0,0 @@
-Polymer({
- is: 'paper-card',
-
- properties: {
- /**
- * The title of the card.
- */
- heading: {
- type: String,
- value: '',
- observer: '_headingChanged'
- },
-
- /**
- * The url of the title image of the card.
- */
- image: {
- type: String,
- value: ''
- },
-
- /**
- * When `true`, any change to the image url property will cause the
- * `placeholder` image to be shown until the image is fully rendered.
- */
- preloadImage: {
- type: Boolean,
- value: false
- },
-
- /**
- * When `preloadImage` is true, setting `fadeImage` to true will cause the
- * image to fade into place.
- */
- fadeImage: {
- type: Boolean,
- value: false
- },
-
- /**
- * The z-depth of the card, from 0-5.
- */
- elevation: {
- type: Number,
- value: 1,
- reflectToAttribute: true
- },
-
- /**
- * Set this to true to animate the card shadow when setting a new
- * `z` value.
- */
- animatedShadow: {
- type: Boolean,
- value: false
- },
-
- /**
- * Read-only property used to pass down the `animatedShadow` value to
- * the underlying paper-material style (since they have different names).
- */
- animated: {
- type: Boolean,
- reflectToAttribute: true,
- readOnly: true,
- computed: '_computeAnimated(animatedShadow)'
- }
- },
-
- _headingChanged: function(heading) {
- var label = this.getAttribute('aria-label');
- this.setAttribute('aria-label', heading);
- },
-
- _computeHeadingClass: function(image) {
- var cls = 'title-text';
- if (image)
- cls += ' over-image';
- return cls;
- },
-
- _computeAnimated: function(animatedShadow) {
- return animatedShadow;
- }
- });

Powered by Google App Engine
This is Rietveld 408576698