Chromium Code Reviews| 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/cr_elements/network/cr_network_icon. html"> | 5 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon. html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_selec t.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_selec t.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm l"> | 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm l"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i conset-svg.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i conset-svg.html"> |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 on-tap="onWelcomeNextButtonClicked_"> | 31 on-tap="onWelcomeNextButtonClicked_"> |
| 32 </oobe-next-button> | 32 </oobe-next-button> |
| 33 </div> | 33 </div> |
| 34 <div class="flex horizontal layout justified"> | 34 <div class="flex horizontal layout justified"> |
| 35 <div class="buttonbox layout vertical" | 35 <div class="buttonbox layout vertical" |
| 36 on-tap="onWelcomeSelectLanguageButtonClicked_"> | 36 on-tap="onWelcomeSelectLanguageButtonClicked_"> |
| 37 <iron-icon icon="icons:language" class="bottom-button self-center"> | 37 <iron-icon icon="icons:language" class="bottom-button self-center"> |
| 38 </iron-icon> | 38 </iron-icon> |
| 39 <div id="currentLanguage">[[currentLanguage]]</div> | 39 <div id="currentLanguage">[[currentLanguage]]</div> |
| 40 </div> | 40 </div> |
| 41 <div class="buttonbox layout vertical"> | 41 <div class="buttonbox layout vertical" |
| 42 on-tap="onWelcomeAccessibilityButtonClicked_"> | |
| 42 <iron-icon icon="icons:accessibility" | 43 <iron-icon icon="icons:accessibility" |
| 43 class="bottom-button self-center"> | 44 class="bottom-button self-center"> |
| 44 </iron-icon> | 45 </iron-icon> |
| 45 <div id="accessibilityLabel" i18n-content="accessibilityLink"></div> | 46 <div id="accessibilityLabel" i18n-content="accessibilityLink"></div> |
| 46 </div> | 47 </div> |
| 47 </div> | 48 </div> |
| 48 </div> | 49 </div> |
| 49 </oobe-card> | 50 </oobe-card> |
| 50 <oobe-dialog class="fit" hidden="[[!languageSelectionScreenShown]]" | 51 <oobe-dialog class="fit" hidden="[[!languageSelectionScreenShown]]" |
| 51 has-buttons> | 52 has-buttons> |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 76 </oobe-i18n-dropdown> | 77 </oobe-i18n-dropdown> |
| 77 </div> | 78 </div> |
| 78 </template> | 79 </template> |
| 79 </div> | 80 </div> |
| 80 <div class="bottom-buttons layout horizontal"> | 81 <div class="bottom-buttons layout horizontal"> |
| 81 <oobe-text-button inverse on-tap="closeLanguageSection_" | 82 <oobe-text-button inverse on-tap="closeLanguageSection_" |
| 82 i18n-content="oobeOKButtonText"> | 83 i18n-content="oobeOKButtonText"> |
| 83 </oobe-text-button> | 84 </oobe-text-button> |
| 84 </div> | 85 </div> |
| 85 </oobe-dialog> | 86 </oobe-dialog> |
| 87 <oobe-dialog class="fit" hidden="[[!accessibilityOptionsScreenShown]]" | |
| 88 has-buttons> | |
| 89 <iron-icon icon="icons:accessibility" class="oobe-icon"></iron-icon> | |
| 90 <div class="header flex layout vertical end-justified start"> | |
| 91 <h1 class="welcome-message" i18n-content="accessibilitySectionTitle"></h 1> | |
|
michaelpg
2016/08/09 20:33:08
wrap
Alexander Alekseev
2016/08/10 04:03:46
Done.
| |
| 92 <h1 class="welcome-message-hint" i18n-content="accessibilitySectionHint" ></h1> | |
|
michaelpg
2016/08/09 20:33:08
wrap
Alexander Alekseev
2016/08/10 04:03:46
Done.
| |
| 93 </div> | |
| 94 <div class="footer layout vertical"> | |
| 95 <oobe-a11y-option checked="[[a11yStatus.spokenFeedbackEnabled]]" | |
| 96 on-change="onA11yOptionChanged_" | |
| 97 chrome-message="enableSpokenFeedback"> | |
| 98 <span class="title" i18n-content="spokenFeedbackOption"></span> | |
| 99 <span class="checked-value">On</span> | |
|
michaelpg
2016/08/09 20:33:08
i18n for all these?
Alexander Alekseev
2016/08/10 04:03:46
Sorry, I missed this.
Done.
| |
| 100 <span class="unchecked-value">Off</span> | |
| 101 </oobe-a11y-option> | |
| 102 <oobe-a11y-option checked="[[a11yStatus.largeCursorEnabled]]" | |
| 103 on-change="onA11yOptionChanged_" | |
| 104 chrome-message="enableLargeCursor"> | |
| 105 <span class="title" i18n-content="largeCursorOption"></span> | |
| 106 <span class="checked-value">Large</span> | |
| 107 <span class="unchecked-value">Normal</span> | |
| 108 </oobe-a11y-option> | |
| 109 <oobe-a11y-option checked="[[a11yStatus.highContrastEnabled]]" | |
| 110 on-change="onA11yOptionChanged_" | |
| 111 chrome-message="enableHighContrast"> | |
| 112 <span class="title" i18n-content="highContrastOption"></span> | |
| 113 <span class="checked-value">On</span> | |
| 114 <span class="unchecked-value">Off</span> | |
| 115 </oobe-a11y-option> | |
| 116 <oobe-a11y-option checked="[[a11yStatus.screenMagnifierEnabled]]" | |
| 117 on-change="onA11yOptionChanged_" | |
| 118 chrome-message="enableScreenMagnifier"> | |
| 119 <span class="title" i18n-content="screenMagnifierOption"></span> | |
| 120 <span class="checked-value">On</span> | |
| 121 <span class="unchecked-value">Off</span> | |
| 122 </oobe-a11y-option> | |
| 123 <oobe-a11y-option checked="[[a11yStatus.virtualKeyboardEnabled]]" | |
| 124 on-change="onA11yOptionChanged_" | |
| 125 chrome-message="enableVirtualKeyboard"> | |
| 126 <span class="title" i18n-content="virtualKeyboardOption"></span> | |
| 127 <span class="checked-value">On</span> | |
| 128 <span class="unchecked-value">Off</span> | |
| 129 </oobe-a11y-option> | |
| 130 </div> | |
| 131 <div class="bottom-buttons layout horizontal"> | |
| 132 <oobe-text-button inverse on-tap="closeAccessibilitySection_" | |
| 133 i18n-content="oobeOKButtonText"> | |
|
michaelpg
2016/08/09 20:33:08
4-space indent
Alexander Alekseev
2016/08/10 04:03:46
Done.
| |
| 134 </oobe-text-button> | |
| 135 </div> | |
| 136 </oobe-dialog> | |
| 86 <oobe-dialog id="networkSection" class="fit" | 137 <oobe-dialog id="networkSection" class="fit" |
| 87 hidden="[[!networkSelectionScreenShown]]"> | 138 hidden="[[!networkSelectionScreenShown]]"> |
| 88 <iron-icon icon="oobe-welcome:wifi" class="oobe-icon"></iron-icon> | 139 <iron-icon icon="oobe-welcome:wifi" class="oobe-icon"></iron-icon> |
| 89 <div class="header flex layout vertical end-justified start"> | 140 <div class="header flex layout vertical end-justified start"> |
| 90 <h1 class="welcome-message" i18n-content="networkSectionTitle"></h1> | 141 <h1 class="welcome-message" i18n-content="networkSectionTitle"></h1> |
| 91 <h1 class="welcome-message-hint" i18n-content="networkSectionHint"></h1> | 142 <h1 class="welcome-message-hint" i18n-content="networkSectionHint"></h1> |
| 92 </div> | 143 </div> |
| 93 <div class="footer flex layout vertical justified"> | 144 <div class="footer flex layout vertical justified"> |
| 94 <cr-network-select id="networkSelect" | 145 <cr-network-select id="networkSelect" |
| 95 on-network-connected="onNetworkConnected_" | 146 on-network-connected="onNetworkConnected_" |
| 96 on-network-item-selected="onNetworkListNetworkItemSelected_" | 147 on-network-item-selected="onNetworkListNetworkItemSelected_" |
| 97 on-custom-item-selected="onNetworkListCustomItemSelected_" | 148 on-custom-item-selected="onNetworkListCustomItemSelected_" |
| 98 custom-items="[[_getNetworkCustomItems()]]" | 149 custom-items="[[_getNetworkCustomItems()]]" |
| 99 max-height="280"> | 150 max-height="280"> |
| 100 </cr-network-select> | 151 </cr-network-select> |
| 101 </div> | 152 </div> |
| 102 </oobe-dialog> | 153 </oobe-dialog> |
| 103 </template> | 154 </template> |
| 104 </dom-module> | 155 </dom-module> |
| 105 | 156 |
| OLD | NEW |