Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 }); |
| OLD | NEW |