diff options
Diffstat (limited to 'chromium/chrome/browser/resources/settings/autofill_page/payments_section.html')
-rw-r--r-- | chromium/chrome/browser/resources/settings/autofill_page/payments_section.html | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/chromium/chrome/browser/resources/settings/autofill_page/payments_section.html b/chromium/chrome/browser/resources/settings/autofill_page/payments_section.html deleted file mode 100644 index 2109d3395fd..00000000000 --- a/chromium/chrome/browser/resources/settings/autofill_page/payments_section.html +++ /dev/null @@ -1,114 +0,0 @@ -<link rel="import" href="chrome://resources/html/polymer.html"> - -<link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html"> -<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html"> -<link rel="import" href="chrome://resources/cr_elements/cr_link_row/cr_link_row.html"> -<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> -<link rel="import" href="chrome://resources/html/assert.html"> -<link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> -<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> -<link rel="import" href="../i18n_setup.html"> -<link rel="import" href="../settings_shared_css.html"> -<link rel="import" href="../controls/settings_toggle_button.html"> -<link rel="import" href="../prefs/prefs.html"> -<link rel="import" href="../people_page/sync_browser_proxy.html"> -<link rel="import" href="credit_card_edit_dialog.html"> -<link rel="import" href="credit_card_list.html"> -<link rel="import" href="passwords_shared_css.html"> - -<dom-module id="settings-payments-section"> - <template> - <style include="settings-shared passwords-shared"> - .expiration-column { - align-items: center; - display: flex; - flex: 1; - } - - #migrateCreditCards { - border-bottom: var(--cr-separator-line); - border-top: none; - } - - #migrateCreditCardsButton { - margin: 0 auto; - } - </style> - <settings-toggle-button id="autofillCreditCardToggle" - class="settings-box first" - aria-label="$i18n{creditCards}" no-extension-indicator - label="$i18n{enableCreditCardsLabel}" - sub-label="$i18n{enableCreditCardsSublabel}" - pref="{{prefs.autofill.credit_card_enabled}}"> - </settings-toggle-button> - <template is="dom-if" - if="[[shouldShowFidoToggle_( - prefs.autofill.credit_card_enabled.value, - userIsFidoVerifiable_)]]"> - <settings-toggle-button - class="settings-box first" - id="autofillCreditCardFIDOAuthToggle" - aria-label="$i18n{creditCards}" no-extension-indicator - label="$i18n{enableCreditCardFIDOAuthLabel}" - sub-label="$i18n{enableCreditCardFIDOAuthSublabel}" - pref="{{prefs.autofill.credit_card_fido_auth_enabled}}" - on-change="setFIDOAuthenticationEnabledState_"> - </settings-toggle-button> - </template> - <template is="dom-if" - if="[[prefs.autofill.credit_card_enabled.extensionId]]"> - <div class="settings-box continuation"> - <extension-controlled-indicator class="start" - id="autofillExtensionIndicator" - extension-id="[[prefs.autofill.credit_card_enabled.extensionId]]" - extension-name="[[ - prefs.autofill.credit_card_enabled.controlledByName]]" - extension-can-be-disabled="[[ - prefs.autofill.credit_card_enabled.extensionCanBeDisabled]]"> - </extension-controlled-indicator> - </div> - </template> - - <div id="manageLink" class="settings-box first"> - <!-- This span lays out the URL correctly, relative to the label. --> - <span>$i18nRaw{manageCreditCardsLabel}</span> - </div> - - <div class="settings-box continuation"> - <h2 class="start">$i18n{creditCards}</h2> - <cr-button id="addCreditCard" class="header-aligned-button" - on-click="onAddCreditCardTap_" - hidden$="[[!prefs.autofill.credit_card_enabled.value]]"> - $i18n{add} - </cr-button> - </div> - <cr-link-row id="migrateCreditCards" - hidden$="[[!checkIfMigratable_(creditCards, - prefs.autofill.credit_card_enabled.value)]]" - on-click="onMigrateCreditCardsClick_" - label="$i18n{migrateCreditCardsLabel}" - sub-label="[[migratableCreditCardsInfo_]]"></cr-link-row> - <settings-credit-card-list id="creditCardList" class="list-frame" - credit-cards="[[creditCards]]"> - </settings-credit-card-list> - - <cr-action-menu id="creditCardSharedMenu"> - <button id="menuEditCreditCard" class="dropdown-item" - on-click="onMenuEditCreditCardTap_">$i18n{edit}</button> - <button id="menuRemoveCreditCard" class="dropdown-item" - hidden$="[[!activeCreditCard.metadata.isLocal]]" - on-click="onMenuRemoveCreditCardTap_">$i18n{removeCreditCard}</button> - <button id="menuClearCreditCard" class="dropdown-item" - on-click="onMenuClearCreditCardTap_" - hidden$="[[!activeCreditCard.metadata.isCached]]"> - $i18n{clearCreditCard} - </button> - </cr-action-menu> - <template is="dom-if" if="[[showCreditCardDialog_]]" restamp> - <settings-credit-card-edit-dialog credit-card="[[activeCreditCard]]" - on-close="onCreditCardDialogClose_"> - </settings-credit-card-edit-dialog> - </template> - </template> - <script src="payments_section.js"></script> -</dom-module> |