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

Side by Side Diff: chrome/browser/resources/print_preview/common/search_box.js

Issue 2863183004: Print Preview: Fix top level directory compile errors (Closed)
Patch Set: Address comments Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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('print_preview', function() { 5 cr.define('print_preview', function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * Component that renders a search box for searching through destinations. 9 * Component that renders a search box for searching through destinations.
10 * @param {string} searchBoxPlaceholderText Search box placeholder text. 10 * @param {string} searchBoxPlaceholderText Search box placeholder text.
(...skipping 13 matching lines...) Expand all
24 * Timeout used to control incremental search. 24 * Timeout used to control incremental search.
25 * @private {?number} 25 * @private {?number}
26 */ 26 */
27 this.timeout_ = null; 27 this.timeout_ = null;
28 28
29 /** 29 /**
30 * Input box where the query is entered. 30 * Input box where the query is entered.
31 * @private {HTMLInputElement} 31 * @private {HTMLInputElement}
32 */ 32 */
33 this.input_ = null; 33 this.input_ = null;
34 }; 34 }
35 35
36 /** 36 /**
37 * Enumeration of event types dispatched from the search box. 37 * Enumeration of event types dispatched from the search box.
38 * @enum {string} 38 * @enum {string}
39 */ 39 */
40 SearchBox.EventType = { 40 SearchBox.EventType = {
41 SEARCH: 'print_preview.SearchBox.SEARCH' 41 SEARCH: 'print_preview.SearchBox.SEARCH'
42 }; 42 };
43 43
44 /** 44 /**
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 this.timeout_ = setTimeout( 121 this.timeout_ = setTimeout(
122 this.dispatchSearchEvent_.bind(this), SearchBox.SEARCH_DELAY_); 122 this.dispatchSearchEvent_.bind(this), SearchBox.SEARCH_DELAY_);
123 } 123 }
124 }; 124 };
125 125
126 // Export 126 // Export
127 return { 127 return {
128 SearchBox: SearchBox 128 SearchBox: SearchBox
129 }; 129 };
130 }); 130 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/common/overlay.js ('k') | chrome/browser/resources/print_preview/component.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698