| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 -webkit-margin-end: 4px; | 108 -webkit-margin-end: 4px; |
| 109 padding: 10px; /* Makes the actual icon 16x16. */ | 109 padding: 10px; /* Makes the actual icon 16x16. */ |
| 110 } | 110 } |
| 111 </style> | 111 </style> |
| 112 <div class="top-container"> | 112 <div class="top-container"> |
| 113 <div class="title-container" tabindex="-1"> | 113 <div class="title-container" tabindex="-1"> |
| 114 <content select=".title"></content> | 114 <content select=".title"></content> |
| 115 </div> | 115 </div> |
| 116 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" | 116 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close" |
| 117 aria-label$="[[closeText]]"> | 117 aria-label$="[[closeText]]" on-keypress="onCloseKeypress_"> |
| 118 </paper-icon-button> | 118 </paper-icon-button> |
| 119 </div> | 119 </div> |
| 120 <div class="body-container"> | 120 <div class="body-container"> |
| 121 <span id="bodyTopMarker"></span> | 121 <span id="bodyTopMarker"></span> |
| 122 <content select=".body"></content> | 122 <content select=".body"></content> |
| 123 <span id="bodyBottomMarker"></span> | 123 <span id="bodyBottomMarker"></span> |
| 124 </div> | 124 </div> |
| 125 <content select=".button-container"></content> | 125 <content select=".button-container"></content> |
| 126 <content select=".footer"></content> | 126 <content select=".footer"></content> |
| 127 </template> | 127 </template> |
| 128 <script src="cr_dialog.js"></script> | 128 <script src="cr_dialog.js"></script> |
| 129 </dom-module> | 129 </dom-module> |
| OLD | NEW |