Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1193)

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html

Issue 2083903002: [MD Settings] Allow editing autofill items from Google Payments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
index ea6ed09c63bdf08d1a602bfc416336a49cb8ec4c..f73f35b9892b50d555875b0a1597be4fb8a5c0e3 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
@@ -35,7 +35,13 @@
class="vertical-list list-section">
<template>
<div class="list-item two-line">
- <div id="addressSummary" class="start">[[address_(item)]]</div>
+ <div class="start">
+ <span id="addressSummary">[[address_(item)]]</span>
+ <span class="secondary"
+ hidden$="[[item.metadata.isLocal]]">
+ $i18n{googlePayments}
+ </span>
+ </div>
<paper-icon-button id="addressMenu" icon="cr:more-vert"
tabindex$="[[tabIndex]]" alt="$i18n{overflowMenu}"
on-tap="onAddressMenuTap_">
@@ -63,8 +69,13 @@
class="vertical-list list-section list-with-header">
<template>
<div class="list-item two-line">
- <div id="creditCardLabel"
- class="type-column">[[item.metadata.summaryLabel]]</div>
+ <div class="type-column">
+ <span id="creditCardLabel">[[item.metadata.summaryLabel]]</span>
+ <span class="secondary"
+ hidden$="[[item.metadata.isLocal]]">
+ $i18n{googlePayments}
+ </span>
+ </div>
<div class="expiration-column">
<div id="creditCardExpiration"
class="expiration-date">[[expiration_(item)]]</div>

Powered by Google App Engine
This is Rietveld 408576698