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

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: add missing files Created 3 years, 7 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 7fe468481246c8ffb2e718cce143fa09d1c5f2c9..e82d44c449b2b8bb76aff2d766c87cd037959514 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,7 @@ Polymer({
// previous dialog's contents are cleared.
dialog.addEventListener('close', function() {
this.showEditSearchEngineDialog_ = false;
- this.$$('paper-icon-button').focus();
+ this.$$('button[is="paper-icon-button-light"]').focus();
}.bind(this));
}.bind(this));
},

Powered by Google App Engine
This is Rietveld 408576698