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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-dialog-behavior/paper-dialog-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.PaperDialogBehavior` and `paper-dialog-common.css` to implement a M aterial Design 2 Use `Polymer.PaperDialogBehavior` and `paper-dialog-common.css` to implement a M aterial Design
5 dialog. 3 dialog.
6 4
7 For example, if `<paper-dialog-impl>` implements this behavior: 5 For example, if `<paper-dialog-impl>` implements this behavior:
8 6
9 <paper-dialog-impl> 7 <paper-dialog-impl>
10 <h2>Header</h2> 8 <h2>Header</h2>
11 <div>Dialog body</div> 9 <div>Dialog body</div>
12 <div class="buttons"> 10 <div class="buttons">
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 this._lastFocusedElement.focus(); 211 this._lastFocusedElement.focus();
214 } else { 212 } else {
215 this._focusNode.focus(); 213 this._focusNode.focus();
216 } 214 }
217 } 215 }
218 } 216 }
219 217
220 }; 218 };
221 219
222 /** @polymerBehavior */ 220 /** @polymerBehavior */
223 Polymer.PaperDialogBehavior = [Polymer.IronOverlayBehavior, Polymer.PaperDialo gBehaviorImpl]; 221 Polymer.PaperDialogBehavior = [Polymer.IronOverlayBehavior, Polymer.PaperDialo gBehaviorImpl];
224
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698