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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js

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/passwords_section.js
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
index d88119de4a78227648b9fc9225c590355639e25b..66e5a042713228801b50dfec9153e8851fcd1250 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
@@ -90,7 +90,7 @@ Polymer({
* @private
*/
onMenuEditPasswordTap_: function() {
- /** @type {SettingsActionMenuElement} */(this.$.menu).close();
+ /** @type {CrActionMenuElement} */(this.$.menu).close();
this.showPasswordEditDialog_ = true;
},
@@ -132,7 +132,7 @@ Polymer({
*/
onMenuRemovePasswordTap_: function() {
this.fire('remove-saved-password', this.activePassword.loginPair);
- /** @type {SettingsActionMenuElement} */(this.$.menu).close();
+ /** @type {CrActionMenuElement} */(this.$.menu).close();
},
/**
@@ -157,7 +157,7 @@ Polymer({
* @private
*/
onPasswordMenuTap_: function(e) {
- var menu = /** @type {!SettingsActionMenuElement} */(this.$.menu);
+ var menu = /** @type {!CrActionMenuElement} */(this.$.menu);
var target = /** @type {!Element} */(Polymer.dom(e).localTarget);
var passwordUiEntryEvent = /** @type {!PasswordUiEntryEvent} */(e);

Powered by Google App Engine
This is Rietveld 408576698