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

Side by Side Diff: chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js

Issue 2848973003: MD Settings: convert paper-icon-button to paper-icon-button-light. (Closed)
Patch Set: move unrelated fix to another CL 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 'settings-omnibox-extension-entry' is a component for showing 6 * @fileoverview 'settings-omnibox-extension-entry' is a component for showing
7 * an omnibox extension with its name and keyword. 7 * an omnibox extension with its name and keyword.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-omnibox-extension-entry', 10 is: 'settings-omnibox-extension-entry',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 * @param {string} url 46 * @param {string} url
47 * @return {string} A set of icon URLs. 47 * @return {string} A set of icon URLs.
48 * @private 48 * @private
49 */ 49 */
50 getIconSet_: function(url) { 50 getIconSet_: function(url) {
51 return cr.icon.getFavicon(url); 51 return cr.icon.getFavicon(url);
52 }, 52 },
53 53
54 /** @private */ 54 /** @private */
55 onDotsTap_: function() { 55 onDotsTap_: function() {
56 /** @type {!CrActionMenuElement} */ ( 56 /** @type {!CrActionMenuElement} */ (this.$$('dialog[is=cr-action-menu]'))
57 this.$$('dialog[is=cr-action-menu]')).showAt( 57 .showAt(assert(this.$$('button[is="paper-icon-button-light"]')));
58 assert(this.$$('paper-icon-button')));
59 }, 58 },
60 }); 59 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698