| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h
tml"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h
tml"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dropdown-menu/pap
er-dropdown-menu.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dropdown-menu/pap
er-dropdown-menu.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper
-radio-group.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper
-radio-group.html"> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 </div> | 41 </div> |
| 42 | 42 |
| 43 <div class="list-frame"> | 43 <div class="list-frame"> |
| 44 <paper-checkbox checked="{{syncPrefs.appsSynced}}" | 44 <paper-checkbox checked="{{syncPrefs.appsSynced}}" |
| 45 on-change="onSingleSyncDataTypeChanged_" class="list-item" | 45 on-change="onSingleSyncDataTypeChanged_" class="list-item" |
| 46 hidden="[[!syncPrefs.appsRegistered]]" | 46 hidden="[[!syncPrefs.appsRegistered]]" |
| 47 disabled="[[shouldSyncCheckboxBeDisabled_( | 47 disabled="[[shouldSyncCheckboxBeDisabled_( |
| 48 syncPrefs.syncAllDataTypes, syncPrefs.appsEnforced)]]"> | 48 syncPrefs.syncAllDataTypes, syncPrefs.appsEnforced)]]"> |
| 49 $i18n{appCheckboxLabel} | 49 $i18n{appCheckboxLabel} |
| 50 </paper-checkbox> | 50 </paper-checkbox> |
| 51 |
| 52 <!-- Autofill has a special on-change handler to deal with |
| 53 Payments integriation. --> |
| 51 <paper-checkbox checked="{{syncPrefs.autofillSynced}}" | 54 <paper-checkbox checked="{{syncPrefs.autofillSynced}}" |
| 52 on-change="onSingleSyncDataTypeChanged_" class="list-item" | 55 on-change="onAutofillDataTypeChanged_" class="list-item" |
| 53 hidden="[[!syncPrefs.autofillRegistered]]" | 56 hidden="[[!syncPrefs.autofillRegistered]]" |
| 54 disabled="[[shouldSyncCheckboxBeDisabled_( | 57 disabled="[[shouldSyncCheckboxBeDisabled_( |
| 55 syncPrefs.syncAllDataTypes, syncPrefs.autofillEnforced)]]"> | 58 syncPrefs.syncAllDataTypes, syncPrefs.autofillEnforced)]]"> |
| 56 $i18n{autofillCheckboxLabel} | 59 $i18n{autofillCheckboxLabel} |
| 57 </paper-checkbox> | 60 </paper-checkbox> |
| 61 |
| 58 <paper-checkbox checked="{{syncPrefs.bookmarksSynced}}" | 62 <paper-checkbox checked="{{syncPrefs.bookmarksSynced}}" |
| 59 on-change="onSingleSyncDataTypeChanged_" class="list-item" | 63 on-change="onSingleSyncDataTypeChanged_" class="list-item" |
| 60 hidden="[[!syncPrefs.bookmarksRegistered]]" | 64 hidden="[[!syncPrefs.bookmarksRegistered]]" |
| 61 disabled="[[shouldSyncCheckboxBeDisabled_( | 65 disabled="[[shouldSyncCheckboxBeDisabled_( |
| 62 syncPrefs.syncAllDataTypes, syncPrefs.bookmarksEnforced)]]"> | 66 syncPrefs.syncAllDataTypes, syncPrefs.bookmarksEnforced)]]"> |
| 63 $i18n{bookmarksCheckboxLabel} | 67 $i18n{bookmarksCheckboxLabel} |
| 64 </paper-checkbox> | 68 </paper-checkbox> |
| 65 <paper-checkbox checked="{{syncPrefs.extensionsSynced}}" | 69 <paper-checkbox checked="{{syncPrefs.extensionsSynced}}" |
| 66 on-change="onSingleSyncDataTypeChanged_" class="list-item" | 70 on-change="onSingleSyncDataTypeChanged_" class="list-item" |
| 67 hidden="[[!syncPrefs.extensionsRegistered]]" | 71 hidden="[[!syncPrefs.extensionsRegistered]]" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 97 syncPrefs.syncAllDataTypes, syncPrefs.themesEnforced)]]"> | 101 syncPrefs.syncAllDataTypes, syncPrefs.themesEnforced)]]"> |
| 98 $i18n{themesAndWallpapersCheckboxLabel} | 102 $i18n{themesAndWallpapersCheckboxLabel} |
| 99 </paper-checkbox> | 103 </paper-checkbox> |
| 100 <paper-checkbox checked="{{syncPrefs.tabsSynced}}" | 104 <paper-checkbox checked="{{syncPrefs.tabsSynced}}" |
| 101 on-change="onSingleSyncDataTypeChanged_" class="list-item" | 105 on-change="onSingleSyncDataTypeChanged_" class="list-item" |
| 102 hidden="[[!syncPrefs.tabsRegistered]]" | 106 hidden="[[!syncPrefs.tabsRegistered]]" |
| 103 disabled="[[shouldSyncCheckboxBeDisabled_( | 107 disabled="[[shouldSyncCheckboxBeDisabled_( |
| 104 syncPrefs.syncAllDataTypes, syncPrefs.tabsEnforced)]]"> | 108 syncPrefs.syncAllDataTypes, syncPrefs.tabsEnforced)]]"> |
| 105 $i18n{openTabsCheckboxLabel} | 109 $i18n{openTabsCheckboxLabel} |
| 106 </paper-checkbox> | 110 </paper-checkbox> |
| 111 |
| 112 <!-- The Payments integration checkbox is a special case in many ways. |
| 113 It's visible only if autofill is registered. It's disabled and |
| 114 unchecked if autofill is unchecked.--> |
| 115 <paper-checkbox checked="{{syncPrefs.paymentsIntegrationEnabled}}" |
| 116 on-change="onSingleSyncDataTypeChanged_" class="list-item" |
| 117 hidden="[[!syncPrefs.autofillRegistered]]" |
| 118 disabled="[[shouldPaymentsCheckboxBeDisabled_( |
| 119 syncPrefs.syncAllDataTypes, syncPrefs.autofillSynced)]]"> |
| 120 $i18n{enablePaymentsIntegrationCheckboxLabel} |
| 121 <a href="$i18nRaw{autofillHelpURL}" target="_blank"> |
| 122 $i18n{learnMore} |
| 123 </a> |
| 124 </paper-checkbox> |
| 107 </div> | 125 </div> |
| 108 | 126 |
| 109 <div class="settings-box two-line" on-tap="onManageSyncedDataTap_"> | 127 <div class="settings-box two-line" on-tap="onManageSyncedDataTap_"> |
| 110 <div class="start"> | 128 <div class="start"> |
| 111 $i18n{manageSyncedDataTitle} | 129 $i18n{manageSyncedDataTitle} |
| 112 <div class="secondary"> | 130 <div class="secondary"> |
| 113 $i18n{manageSyncedDataDescription} | 131 $i18n{manageSyncedDataDescription} |
| 114 </div> | 132 </div> |
| 115 </div> | 133 </div> |
| 116 </div> | 134 </div> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 on-tap="onSubmitExistingPassphraseTap_" class="action-button"> | 199 on-tap="onSubmitExistingPassphraseTap_" class="action-button"> |
| 182 $i18n{submitPassphraseButton} | 200 $i18n{submitPassphraseButton} |
| 183 </paper-button> | 201 </paper-button> |
| 184 </div> | 202 </div> |
| 185 </template> | 203 </template> |
| 186 </div> | 204 </div> |
| 187 </iron-pages> | 205 </iron-pages> |
| 188 </template> | 206 </template> |
| 189 <script src="sync_page.js"></script> | 207 <script src="sync_page.js"></script> |
| 190 </dom-module> | 208 </dom-module> |
| OLD | NEW |