| 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 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/default-th
eme.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/default-th
eme.html"> |
| 6 | 6 |
| 7 <dom-module id="cr-dialog"> | 7 <dom-module id="cr-dialog"> |
| 8 <template> | 8 <template> |
| 9 <style> | 9 <style> |
| 10 :host { | 10 :host { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 -webkit-margin-end: 4px; | 122 -webkit-margin-end: 4px; |
| 123 margin-top: 4px; | 123 margin-top: 4px; |
| 124 padding: 10px; /* Makes the actual icon 16x16. */ | 124 padding: 10px; /* Makes the actual icon 16x16. */ |
| 125 } | 125 } |
| 126 </style> | 126 </style> |
| 127 <div class="top-container"> | 127 <div class="top-container"> |
| 128 <div class="title-container" tabindex="-1"> | 128 <div class="title-container" tabindex="-1"> |
| 129 <content select=".title"></content> | 129 <content select=".title"></content> |
| 130 </div> | 130 </div> |
| 131 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" | 131 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" |
| 132 aria-label$="[[closeText]]"> | 132 aria-label$="[[closeText]]" on-keypress="onCloseKeypress_"> |
| 133 </paper-icon-button> | 133 </paper-icon-button> |
| 134 </div> | 134 </div> |
| 135 <div class="body-container"> | 135 <div class="body-container"> |
| 136 <span id="bodyTopMarker"></span> | 136 <span id="bodyTopMarker"></span> |
| 137 <content select=".body"></content> | 137 <content select=".body"></content> |
| 138 <span id="bodyBottomMarker"></span> | 138 <span id="bodyBottomMarker"></span> |
| 139 </div> | 139 </div> |
| 140 <content select=".button-container"></content> | 140 <content select=".button-container"></content> |
| 141 <content select=".footer"></content> | 141 <content select=".footer"></content> |
| 142 </template> | 142 </template> |
| 143 <script src="cr_dialog.js"></script> | 143 <script src="cr_dialog.js"></script> |
| 144 </dom-module> | 144 </dom-module> |
| OLD | NEW |