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

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

Issue 1308893009: [MD Extensions] Move search field out of downloads, use it in extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 cr.define('extensions', function() {
6 var Toolbar = Polymer({
7 is: 'extensions-toolbar',
8
9 /**
10 * @param {string} value
11 */
12 onSearchTermSearch: function(value) {
13 },
14 });
15
16 /**
17 * @constructor
18 * @implements {cr.ui.SearchField.Delegate}
19 */
20 function ToolbarSearchFieldDelegate(toolbar) {
21 this.toolbar_ = toolbar;
22 };
Dan Beam 2015/09/14 19:22:05 }; -> }
Devlin 2015/09/14 21:47:18 Done.
23
24 ToolbarSearchFieldDelegate.prototype = {
25 /** @override */
26 onSearchTermSearch: function(value) {
27 this.toolbar_.onSearchTermSearch(value);
28 }
29 };
30
31 return {Toolbar: Toolbar};
32 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698