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

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: Address comments, fix compilation. 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',
Dan Beam 2016/06/14 22:13:29 i wonder what the point of keeping this as a custo
dpapad 2016/06/14 22:28:16 Don't see a point in keeping this custom element a
8
9 /** @param {SearchFieldDelegate} delegate */
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

Powered by Google App Engine
This is Rietveld 408576698