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

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

Issue 2667253002: MD Settings: Change autofill addr/cc add buttons to paper-button (Closed)
Patch Set: Merge branch 'master' into add-button Created 3 years, 10 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 6d0364d87f8a08bdc8a1524171fc0a39823c9545..e192458610ce401c227e3683675953e97be556d6 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
@@ -52,7 +52,11 @@
}
</style>
<div class="settings-box first">
- <h2>$i18n{addresses}</h2>
+ <h2 class="start">$i18n{addresses}</h2>
+ <paper-button class="secondary-button header-aligned-button"
+ on-tap="onAddAddressTap_">
+ $i18n{add}
+ </paper-button>
</div>
<div class="list-frame">
<div id="addressList" class="vertical-list">
@@ -82,11 +86,6 @@
hidden$="[[hasSome_(addresses)]]">
$i18n{noAddressesFound}
</div>
- <div class="list-item">
- <a is="action-link" class="list-button" on-tap="onAddAddressTap_">
- $i18n{addAddress}
- </a>
- </div>
</div>
<dialog is="cr-action-menu" id="addressSharedMenu">
<button id="menuEditAddress" class="dropdown-item"
@@ -101,7 +100,11 @@
</settings-address-edit-dialog>
</template>
<div class="settings-box first">
- <h2>$i18n{creditCards}</h2>
+ <h2 class="start">$i18n{creditCards}</h2>
+ <paper-button class="secondary-button header-aligned-button"
+ on-tap="onAddCreditCardTap_">
+ $i18n{add}
+ </paper-button>
</div>
<div class="list-frame">
<div id="creditCardsHeading" class="list-item column-header"
@@ -138,11 +141,6 @@
hidden$="[[hasSome_(creditCards)]]">
$i18n{noCreditCardsFound}
</div>
- <div class="list-item">
- <a is="action-link" class="list-button" on-tap="onAddCreditCardTap_">
- $i18n{addCreditCard}
- </a>
- </div>
</div>
<dialog is="cr-action-menu" id="creditCardSharedMenu">
<button id="menuEditCreditCard" class="dropdown-item"
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698