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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior-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 /** 1 /**
4 Use `Polymer.IronOverlayBehavior` to implement an element that can be hidden or shown, and displays 2 Use `Polymer.IronOverlayBehavior` to implement an element that can be hidden or shown, and displays
5 on top of other content. It includes an optional backdrop, and can be used to im plement a variety 3 on top of other content. It includes an optional backdrop, and can be used to im plement a variety
6 of UI controls including dialogs and drop downs. Multiple overlays may be displa yed at once. 4 of UI controls including dialogs and drop downs. Multiple overlays may be displa yed at once.
7 5
8 ### Closing and canceling 6 ### Closing and canceling
9 7
10 A dialog may be hidden by closing or canceling. The difference between close and cancel is user 8 A dialog may be hidden by closing or canceling. The difference between close and cancel is user
11 intent. Closing generally implies that the user acknowledged the content on the overlay. By default, 9 intent. Closing generally implies that the user acknowledged the content on the overlay. By default,
12 it will cancel whenever the user taps outside it or presses the escape key. This behavior is 10 it will cancel whenever the user taps outside it or presses the escape key. This behavior is
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 return; 403 return;
406 } 404 }
407 if (this.opened) { 405 if (this.opened) {
408 this.refit(); 406 this.refit();
409 } 407 }
410 } 408 }
411 409
412 }; 410 };
413 411
414 /** @polymerBehavior */ 412 /** @polymerBehavior */
415 Polymer.IronOverlayBehavior = [Polymer.IronFitBehavior, Polymer.IronResizableB ehavior, Polymer.IronOverlayBehaviorImpl]; 413 Polymer.IronOverlayBehavior = [Polymer.IronFitBehavior, Polymer.IronResizableB ehavior, Polymer.IronOverlayBehaviorImpl];
416
417
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698