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

Side by Side Diff: chrome/browser/resources/print_preview/settings/page_settings.js

Issue 10450022: Print Preview Print Destination Search Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Set --bary flag Created 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 * Creates a PageSettings object. This object encapsulates all settings and 9 * Creates a PageSettings object. This object encapsulates all settings and
10 * logic related to page selection. 10 * logic related to page selection.
11 * @param {!print_preview.PrintTicketStore} printTicketStore Used to read and 11 * @param {!print_preview.PrintTicketStore} printTicketStore Used to read and
12 * write page range settings. 12 * write page range settings.
13 * @constructor 13 * @constructor
14 * @extends {print_preview.Component} 14 * @extends {print_preview.Component}
15 */ 15 */
16 function PageSettings(printTicketStore) { 16 function PageSettings(printTicketStore) {
17 print_preview.Component.call(this); 17 print_preview.Component.call(this);
18 18
19 /** 19 /**
20 * Used to read and write page range settings. 20 * Used to read and write page range settings.
21 * @type {!print_preview.PrintTicketStore} 21 * @type {!print_preview.PrintTicketStore}
22 * @private 22 * @private
23 */ 23 */
24 this.printTicketStore_ = printTicketStore; 24 this.printTicketStore_ = printTicketStore;
25 25
26 /** 26 /**
27 * Timeout used to delay processing of the custom page range input. 27 * Timeout used to delay processing of the custom page range input.
28 * @type {Object} 28 * @type {?number}
29 * @private 29 * @private
30 */ 30 */
31 this.customInputTimeout_ = null; 31 this.customInputTimeout_ = null;
32 32
33 /** 33 /**
34 * Custom page range input. 34 * Custom page range input.
35 * @type {HTMLInputElement} 35 * @type {HTMLInputElement}
36 * @private 36 * @private
37 */ 37 */
38 this.customInput_ = null; 38 this.customInput_ = null;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 fadeOutOption(this.getElement()); 238 fadeOutOption(this.getElement());
239 } 239 }
240 } 240 }
241 }; 241 };
242 242
243 // Export 243 // Export
244 return { 244 return {
245 PageSettings: PageSettings 245 PageSettings: PageSettings
246 }; 246 };
247 }); 247 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698