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

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

Issue 2461113002: WebUI: Make settings-action-menu re-usable as cr-action-menu. (Closed)
Patch Set: getComputedStyle instead of util.js Created 4 years, 1 month 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 aea7ed44d7e054c90ba82fe0c42ef6a7917c7d8b..847c03fbe2fb2db728c1bb7e0cacb92e659394ec 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
@@ -1,10 +1,11 @@
+<link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html">
<link rel="import" href="chrome://resources/html/action_link.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
+<link rel="import" href="/i18n_setup.html">
<link rel="import" href="/passwords_and_forms_page/address_edit_dialog.html">
<link rel="import" href="/passwords_and_forms_page/credit_card_edit_dialog.html">
<link rel="import" href="/passwords_and_forms_page/passwords_shared_css.html">
-<link rel="import" href="/settings_action_menu.html">
<link rel="import" href="/settings_shared_css.html">
<dom-module id="settings-autofill-section">
@@ -59,7 +60,7 @@
<a is="action-link" on-tap="onAddAddressTap_">$i18n{addAddress}</a>
</div>
</div>
- <dialog is="settings-action-menu" id="addressSharedMenu">
+ <dialog is="cr-action-menu" id="addressSharedMenu">
<button id="menuEditAddress" class="dropdown-item"
on-tap="onMenuEditAddressTap_">$i18n{editAddress}</button>
<button id="menuRemoveAddress" class="dropdown-item"
@@ -115,7 +116,7 @@
</a>
</div>
</div>
- <dialog is="settings-action-menu" id="creditCardSharedMenu">
+ <dialog is="cr-action-menu" id="creditCardSharedMenu">
<button id="menuEditCreditCard" class="dropdown-item"
on-tap="onMenuEditCreditCardTap_">$i18n{editCreditCard}</button>
<button id="menuRemoveCreditCard" class="dropdown-item"

Powered by Google App Engine
This is Rietveld 408576698