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

Unified Diff: chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js

Issue 2430503002: MD Settings: Migrate omnibox extension action menu to settings-action-menu. (Closed)
Patch Set: Undo Created 4 years, 2 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/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 0ed0c9f5cd1edab48fbddc81f32c15713c8f1c24..8b34bd129863d58eba87a16d6500f73171778b57 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.$$('iron-dropdown').close();
+ this.$$('dialog[is=settings-action-menu]').close();
},
/**
@@ -47,4 +47,11 @@ Polymer({
getIconSet_: function(url) {
return cr.icon.getFavicon(url);
},
+
+ /** @private */
+ onDotsTap_: function() {
+ /** @type {!SettingsActionMenuElement} */ (
+ this.$$('dialog[is=settings-action-menu]')).showAt(
+ assert(this.$$('paper-icon-button')));
+ },
});

Powered by Google App Engine
This is Rietveld 408576698