summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/md_extensions/toolbar.js
blob: 3da624cc6de96a7cd2e23d8d1ddbff77ed3e5b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

cr.define('extensions', function() {
  var Toolbar = Polymer({
    is: 'extensions-toolbar',

    /** @param {SearchFieldDelegate} delegate */
    setSearchDelegate: function(delegate) {
      this.$['search-field'].setDelegate(delegate);
    },
  });

  return {Toolbar: Toolbar};
});