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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 1 Polymer({
2 2
3 Polymer({
4
5 is: 'iron-icon', 3 is: 'iron-icon',
6 4
7 properties: { 5 properties: {
8 6
9 /** 7 /**
10 * The name of the icon to use. The name should be of the form: 8 * The name of the icon to use. The name should be of the form:
11 * `iconset_name:icon_name`. 9 * `iconset_name:icon_name`.
12 */ 10 */
13 icon: { 11 icon: {
14 type: String, 12 type: String,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 if (!this._img) { 65 if (!this._img) {
68 this._img = document.createElement('img'); 66 this._img = document.createElement('img');
69 this._img.style.width = '100%'; 67 this._img.style.width = '100%';
70 this._img.style.height = '100%'; 68 this._img.style.height = '100%';
71 } 69 }
72 this._img.src = this.src; 70 this._img.src = this.src;
73 Polymer.dom(this.root).appendChild(this._img); 71 Polymer.dom(this.root).appendChild(this._img);
74 } 72 }
75 } 73 }
76 74
77 }); 75 });
78
79
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698