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

Unified Diff: chrome/browser/resources/settings/search_engines_page/search_engine_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/search_engine_entry.js
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js b/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
index 2c33189fcea30c94946360a17afca64e390c1708..12f7d82c85e7588448bea2b2e05a25ce4c29cc32 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
+++ b/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
@@ -70,7 +70,7 @@ Polymer({
/** @private */
closePopupMenu_: function() {
- this.$$('dialog[is=settings-action-menu]').close();
+ this.$$('dialog[is=cr-action-menu]').close();
},
/**
@@ -85,8 +85,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