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

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

Issue 2848973003: MD Settings: convert paper-icon-button to paper-icon-button-light. (Closed)
Patch Set: move more icons to classes Created 3 years, 6 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/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 20b2e37046dbf7f39c60f20f1c309cc391d7d89d..735b01e77e1d8c6bec7f9b1f9ee1d575275b75af 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
@@ -85,9 +85,8 @@ Polymer({
/** @private */
onDotsTap_: function() {
- /** @type {!CrActionMenuElement} */ (
- this.$$('dialog[is=cr-action-menu]')).showAt(
- assert(this.$$('paper-icon-button')));
+ /** @type {!CrActionMenuElement} */ (this.$$('dialog[is=cr-action-menu]'))
+ .showAt(assert(this.$$('button[is="paper-icon-button-light"]')));
},
/**
@@ -106,7 +105,8 @@ Polymer({
// previous dialog's contents are cleared.
dialog.addEventListener('close', function() {
this.showEditSearchEngineDialog_ = false;
- cr.ui.focusWithoutInk(assert(this.$$('paper-icon-button')));
+ cr.ui.focusWithoutInk(assert(this.$$(
+ 'button[is="paper-icon-button-light"]')));
}.bind(this));
}.bind(this));
},

Powered by Google App Engine
This is Rietveld 408576698