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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.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/bluetooth_page/bluetooth_device_list_item.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
index 32a2774470bf6981e34438feb582703b9f55a55f..c72b2e42d104af5e9d527fccf4f3fa2081545465 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
@@ -27,7 +27,7 @@ Polymer({
*/
onMenuButtonTap_: function(event) {
let button = /** @type {!HTMLElement} */ (event.target);
- let menu = /** @type {!SettingsActionMenuElement} */ (this.$.dotsMenu);
+ let menu = /** @type {!CrActionMenuElement} */ (this.$.dotsMenu);
menu.showAt(button);
event.stopPropagation();
},
@@ -39,7 +39,7 @@ Polymer({
action: action,
device: this.device,
});
- /** @type {!SettingsActionMenuElement} */ (this.$.dotsMenu).close();
+ /** @type {!CrActionMenuElement} */ (this.$.dotsMenu).close();
},
/** @private */
@@ -48,7 +48,7 @@ Polymer({
action: 'remove',
device: this.device,
});
- /** @type {!SettingsActionMenuElement} */ (this.$.dotsMenu).close();
+ /** @type {!CrActionMenuElement} */ (this.$.dotsMenu).close();
},
/**

Powered by Google App Engine
This is Rietveld 408576698