| Index: chrome/browser/resources/md_downloads/crisper.js
|
| diff --git a/chrome/browser/resources/md_downloads/crisper.js b/chrome/browser/resources/md_downloads/crisper.js
|
| index 906dc57e65511a8998077abafee4badc82a403d5..8ff77fc8239b0a4fd07f2dd104d29ca568433eba 100644
|
| --- a/chrome/browser/resources/md_downloads/crisper.js
|
| +++ b/chrome/browser/resources/md_downloads/crisper.js
|
| @@ -10876,11 +10876,6 @@ var CrSearchFieldBehavior = {
|
| this.$.searchInput.blur();
|
| },
|
|
|
| - /** @private */
|
| - toggleShowingSearch_: function() {
|
| - this.showingSearch = !this.showingSearch;
|
| - },
|
| -
|
| /** @return {boolean} */
|
| isSearchFocused: function() {
|
| return this.$.searchTerm.focused;
|
| @@ -11653,7 +11648,23 @@ Polymer({
|
|
|
| var SearchField = Polymer({
|
| is: 'cr-search-field',
|
| - behaviors: [CrSearchFieldBehavior]
|
| +
|
| + behaviors: [CrSearchFieldBehavior],
|
| +
|
| + properties: {
|
| + value_: String,
|
| + },
|
| +
|
| + /** @private */
|
| + clearSearch_: function() {
|
| + this.setValue('');
|
| + this.$.searchInput.focus();
|
| + },
|
| +
|
| + /** @private */
|
| + toggleShowingSearch_: function() {
|
| + this.showingSearch = !this.showingSearch;
|
| + },
|
| });
|
| // Copyright 2015 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
|
|