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

Side by Side Diff: chrome/browser/resources/print_preview/settings/copies_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 * Component that renders the copies settings UI. 9 * Component that renders the copies settings UI.
10 * @param {!print_preview.PrintTicketStore} printTicketStore Used to read and 10 * @param {!print_preview.PrintTicketStore} printTicketStore Used to read and
11 * write the copies settings. 11 * write the copies settings.
12 * @constructor 12 * @constructor
13 * @extends {print_preview.Component} 13 * @extends {print_preview.Component}
14 */ 14 */
15 function CopiesSettings(printTicketStore) { 15 function CopiesSettings(printTicketStore) {
16 print_preview.Component.call(this); 16 print_preview.Component.call(this);
17 17
18 /** 18 /**
19 * Used for writing to the print ticket and validating inputted values. 19 * Used for writing to the print ticket and validating inputted values.
20 * @type {!print_preview.PrintTicketStore} 20 * @type {!print_preview.PrintTicketStore}
21 * @private 21 * @private
22 */ 22 */
23 this.printTicketStore_ = printTicketStore; 23 this.printTicketStore_ = printTicketStore;
24 24
25 /** 25 /**
26 * Timeout used to delay processing of the copies input. 26 * Timeout used to delay processing of the copies input.
27 * @type {Object} 27 * @type {?number}
28 * @private 28 * @private
29 */ 29 */
30 this.textfieldTimeout_ = null; 30 this.textfieldTimeout_ = null;
31 31
32 /** 32 /**
33 * Whether this component is enabled or not. 33 * Whether this component is enabled or not.
34 * @type {boolean} 34 * @type {boolean}
35 * @private 35 * @private
36 */ 36 */
37 this.isEnabled_ = true; 37 this.isEnabled_ = true;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 onCollateCheckboxClick_: function() { 318 onCollateCheckboxClick_: function() {
319 this.printTicketStore_.updateCollate(this.collateCheckbox_.checked); 319 this.printTicketStore_.updateCollate(this.collateCheckbox_.checked);
320 } 320 }
321 }; 321 };
322 322
323 // Export 323 // Export
324 return { 324 return {
325 CopiesSettings: CopiesSettings 325 CopiesSettings: CopiesSettings
326 }; 326 };
327 }); 327 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698