| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * @fileoverview 'settings-dialog' is a component for showing a modal dialog. |
| 7 * |
| 8 * @group Chrome Settings Elements |
| 9 * @element settings-dialog |
| 10 */ |
| 11 Polymer({ |
| 12 is: 'settings-dialog', |
| 13 |
| 14 properties: { |
| 15 /** @override */ |
| 16 modal: { |
| 17 type: Boolean, |
| 18 value: true, |
| 19 }, |
| 20 }, |
| 21 |
| 22 behaviors: [Polymer.PaperDialogBehavior], |
| 23 |
| 24 /** @return {!PaperIconButtonElement} */ |
| 25 getCloseButton: function() { |
| 26 return this.$.close; |
| 27 }, |
| 28 }); |
| OLD | NEW |