| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 2 <link rel="import" href="chrome://resources/html/assert.html"> | 2 <link rel="import" href="chrome://resources/html/assert.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 5 | 5 |
| 6 <dom-module id="cr-dialog"> | 6 <dom-module id="cr-dialog"> |
| 7 <template> | 7 <template> |
| 8 <style> | 8 <style> |
| 9 :host { | 9 :host { |
| 10 border: 0; | 10 border: 0; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 :host ::content .footer { | 85 :host ::content .footer { |
| 86 background-color: var(--paper-grey-200); | 86 background-color: var(--paper-grey-200); |
| 87 border-bottom-left-radius: inherit; | 87 border-bottom-left-radius: inherit; |
| 88 border-bottom-right-radius: inherit; | 88 border-bottom-right-radius: inherit; |
| 89 margin: 0; | 89 margin: 0; |
| 90 padding: 12px 20px; | 90 padding: 12px 20px; |
| 91 } | 91 } |
| 92 </style> | 92 </style> |
| 93 <div class="title-container"> | 93 <div class="title-container"> |
| 94 <content select=".title"></content> | 94 <content select=".title"></content> |
| 95 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"> | 95 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" |
| 96 aria-label$="[[closeText]]"> |
| 96 </paper-icon-button> | 97 </paper-icon-button> |
| 97 </div> | 98 </div> |
| 98 <div class="body-container"> | 99 <div class="body-container"> |
| 99 <content select=".body"></content> | 100 <content select=".body"></content> |
| 100 </div> | 101 </div> |
| 101 <content select=".button-container"></content> | 102 <content select=".button-container"></content> |
| 102 <content select=".footer"></content> | 103 <content select=".footer"></content> |
| 103 </template> | 104 </template> |
| 104 <script src="cr_dialog.js"></script> | 105 <script src="cr_dialog.js"></script> |
| 105 </dom-module> | 106 </dom-module> |
| OLD | NEW |