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

Side by Side Diff: chrome/browser/resources/md_extensions/toolbar.js

Issue 2060023002: WebUI: cr-search-field: Remove delegation pattern, use simple event instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@search_box0
Patch Set: Nits. Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 cr.define('extensions', function() { 5 cr.define('extensions', function() {
6 var Toolbar = Polymer({ 6 var Toolbar = Polymer({
7 is: 'extensions-toolbar', 7 is: 'extensions-toolbar',
8
9 /** @param {SearchFieldDelegate} delegate */
Devlin 2016/06/14 19:19:33 Can we remove cr_search_field from compiled_resour
dpapad 2016/06/14 19:29:48 Done.
10 setSearchDelegate: function(delegate) {
11 this.$['search-field'].setDelegate(delegate);
12 },
13 }); 8 });
14 9
15 return {Toolbar: Toolbar}; 10 return {Toolbar: Toolbar};
16 }); 11 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_extensions/manager.js ('k') | chrome/browser/resources/md_history/history_toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698