| OLD | NEW |
| 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="cr-dialog-backdrop.html"> | 5 <link rel="import" href="cr-dialog-backdrop.html"> |
| 6 <link rel="import" href="cr-keyboard.html"> | 6 <link rel="import" href="cr-keyboard.html"> |
| 7 | 7 |
| 8 <polymer-element name="cr-dialog" extends="dialog"> | 8 <polymer-element name="cr-dialog" extends="dialog"> |
| 9 <template> | 9 <template> |
| 10 <style> | 10 <style> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 this.fireCancelEvent = function(event) { | 57 this.fireCancelEvent = function(event) { |
| 58 event.preventDefault(); | 58 event.preventDefault(); |
| 59 if (!this.fire("cancel").defaultPrevented) | 59 if (!this.fire("cancel").defaultPrevented) |
| 60 this.close(); | 60 this.close(); |
| 61 }; | 61 }; |
| 62 }, | 62 }, |
| 63 }); | 63 }); |
| 64 })(); | 64 })(); |
| 65 </script> | 65 </script> |
| 66 </ploymer-element> | 66 </ploymer-element> |
| OLD | NEW |