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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 <iron-icon icon="icon1" ... class="oobe-icon oobe-icon-1x"> | 43 <iron-icon icon="icon1" ... class="oobe-icon oobe-icon-1x"> |
44 <iron-icon icon-"icon2" ... class="oobe-icon oobe-icon-2x"> | 44 <iron-icon icon-"icon2" ... class="oobe-icon oobe-icon-2x"> |
45 | 45 |
46 |bottom-buttons| block is shown only if |has-buttons| attribute is set. | 46 |bottom-buttons| block is shown only if |has-buttons| attribute is set. |
47 --> | 47 --> |
48 <dom-module id="oobe-dialog"> | 48 <dom-module id="oobe-dialog"> |
49 <template> | 49 <template> |
50 <link rel="stylesheet" href="oobe_dialog_host.css"> | 50 <link rel="stylesheet" href="oobe_dialog_host.css"> |
51 <link rel="stylesheet" href="oobe_dialog.css"> | 51 <link rel="stylesheet" href="oobe_dialog.css"> |
52 <div id="header-container"> | 52 <div id="header-container" android$="[[android]]"> |
53 <div class="oobe-icon-div"> | 53 <div class="oobe-icon-div"> |
54 <content select=".oobe-icon"></content> | 54 <content select=".oobe-icon"></content> |
55 </div> | 55 </div> |
56 <div class="oobe-header layout vertical"> | 56 <div class="oobe-header layout vertical"> |
57 <content select=".header"></content> | 57 <content select=".header"></content> |
58 </div> | 58 </div> |
59 </div> | 59 </div> |
60 <div id="footer-container" noFooter$="[[noFooter]]" | 60 <div id="footer-container" noFooter$="[[noFooter]]" |
61 class="flex layout vertical"> | 61 class="flex layout vertical"> |
62 <content select=".footer"></content> | 62 <content select=".footer"></content> |
63 </div> | 63 </div> |
64 <template is="dom-if" if="[[hasButtons]]"> | 64 <template is="dom-if" if="[[hasButtons]]"> |
65 <div id="oobe-bottom" hideShadow$="[[hideShadow]]" | 65 <div id="oobe-bottom" hideShadow$="[[hideShadow]]" android$="[[android]]" |
66 class="layout horizontal center"> | 66 class="layout horizontal center"> |
67 <content select=".bottom-buttons"></content> | 67 <content select=".bottom-buttons"></content> |
68 </div> | 68 </div> |
69 </template> | 69 </template> |
70 </template> | 70 </template> |
71 </dom-module> | 71 </dom-module> |
72 | 72 |
OLD | NEW |