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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-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
2
3 (function() { 1 (function() {
4 2
5 Polymer({ 3 Polymer({
6 4
7 is: 'iron-overlay-backdrop', 5 is: 'iron-overlay-backdrop',
8 6
9 properties: { 7 properties: {
10 8
11 /** 9 /**
12 * Returns true if the backdrop is opened. 10 * Returns true if the backdrop is opened.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 */ 58 */
61 complete: function() { 59 complete: function() {
62 // only remove the backdrop if there are no more overlays with backdrops 60 // only remove the backdrop if there are no more overlays with backdrops
63 if (this._manager.getBackdrops().length === 0 && this.parentNode) { 61 if (this._manager.getBackdrops().length === 0 && this.parentNode) {
64 Polymer.dom(this.parentNode).removeChild(this); 62 Polymer.dom(this.parentNode).removeChild(this);
65 } 63 }
66 } 64 }
67 65
68 }); 66 });
69 67
70 })(); 68 })();
71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698