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

Unified Diff: chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.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/search_engines_page/omnibox_extension_entry.js
diff --git a/chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js b/chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js
index 8b34bd129863d58eba87a16d6500f73171778b57..68fbb337d53f9cde18212ac0fe94eee61f14d97a 100644
--- a/chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js
+++ b/chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js
@@ -36,7 +36,7 @@ Polymer({
/** @private */
closePopupMenu_: function() {
- this.$$('dialog[is=settings-action-menu]').close();
+ this.$$('dialog[is=cr-action-menu]').close();
},
/**
@@ -50,8 +50,8 @@ Polymer({
/** @private */
onDotsTap_: function() {
- /** @type {!SettingsActionMenuElement} */ (
- this.$$('dialog[is=settings-action-menu]')).showAt(
+ /** @type {!CrActionMenuElement} */ (
+ this.$$('dialog[is=cr-action-menu]')).showAt(
assert(this.$$('paper-icon-button')));
},
});

Powered by Google App Engine
This is Rietveld 408576698