| OLD | NEW |
| 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 7 | 7 |
| 8 <!-- | 8 <!-- |
| 9 Simple OOBE dialog which should be used for OOBE UI elements. | 9 Simple OOBE dialog which should be used for OOBE UI elements. |
| 10 It has correct size and padding. It can display top left icon, and has | 10 It has correct size and padding. It can display top left icon, and has |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 no-footer-padding - disables footer padding. | 50 no-footer-padding - disables footer padding. |
| 51 has-buttons - shows bottom buttons menu | 51 has-buttons - shows bottom buttons menu |
| 52 | 52 |
| 53 I.e. [no-header no-footer-padding] will make the footer occupy all the dialog | 53 I.e. [no-header no-footer-padding] will make the footer occupy all the dialog |
| 54 space. | 54 space. |
| 55 --> | 55 --> |
| 56 <dom-module id="oobe-dialog"> | 56 <dom-module id="oobe-dialog"> |
| 57 <template> | 57 <template> |
| 58 <link rel="stylesheet" href="oobe_dialog_host.css"> | 58 <link rel="stylesheet" href="oobe_dialog_host.css"> |
| 59 <link rel="stylesheet" href="oobe_dialog.css"> | 59 <link rel="stylesheet" href="oobe_dialog.css"> |
| 60 <div id="header-container" hidden="[[noHeader]]"> | 60 <div id="header-container" hidden="[[noHeader]]" android$="[[android]]"> |
| 61 <div class="oobe-icon-div"> | 61 <div class="oobe-icon-div"> |
| 62 <content select=".oobe-icon"></content> | 62 <content select=".oobe-icon"></content> |
| 63 </div> | 63 </div> |
| 64 <div class="oobe-header layout vertical"> | 64 <div class="oobe-header layout vertical"> |
| 65 <content select=".header"></content> | 65 <content select=".header"></content> |
| 66 </div> | 66 </div> |
| 67 </div> | 67 </div> |
| 68 <div id="footer-container" noFooterPadding$="[[noFooterPadding]]" | 68 <div id="footer-container" noFooterPadding$="[[noFooterPadding]]" |
| 69 class="flex layout vertical"> | 69 class="flex layout vertical"> |
| 70 <content select=".footer"></content> | 70 <content select=".footer"></content> |
| 71 </div> | 71 </div> |
| 72 <template is="dom-if" if="[[hasButtons]]"> | 72 <template is="dom-if" if="[[hasButtons]]"> |
| 73 <div id="oobe-bottom" hideShadow$="[[hideShadow]]" | 73 <div id="oobe-bottom" hideShadow$="[[hideShadow]]" android$="[[android]]" |
| 74 class="layout horizontal center"> | 74 class="layout horizontal center"> |
| 75 <content select=".bottom-buttons"></content> | 75 <content select=".bottom-buttons"></content> |
| 76 </div> | 76 </div> |
| 77 </template> | 77 </template> |
| 78 </template> | 78 </template> |
| 79 </dom-module> | 79 </dom-module> |
| 80 | 80 |
| OLD | NEW |