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

Side by Side Diff: chrome/browser/resources/print_preview/preview_generator.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 * Interface to the Chromium print preview generator. 9 * Interface to the Chromium print preview generator.
10 * @param {!print_preview.DestinationStore} destinationStore Used to get the 10 * @param {!print_preview.DestinationStore} destinationStore Used to get the
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 /** 79 /**
80 * Page number set used to generate the last preview. 80 * Page number set used to generate the last preview.
81 * @type {print_preview.PageNumberSet} 81 * @type {print_preview.PageNumberSet}
82 * @private 82 * @private
83 */ 83 */
84 this.pageNumberSet_ = null; 84 this.pageNumberSet_ = null;
85 85
86 /** 86 /**
87 * Margins type used to generate the last preview. 87 * Margins type used to generate the last preview.
88 * @type {print_preview.ticket_items.MarginsType.Value} 88 * @type {!print_preview.ticket_items.MarginsType.Value}
89 * @private 89 * @private
90 */ 90 */
91 this.marginsType_ = print_preview.ticket_items.MarginsType.Value.DEFAULT; 91 this.marginsType_ = print_preview.ticket_items.MarginsType.Value.DEFAULT;
92 92
93 /** 93 /**
94 * Destination that was selected for the last preview. 94 * Destination that was selected for the last preview.
95 * @type {print_preview.Destination} 95 * @type {print_preview.Destination}
96 * @private 96 * @private
97 */ 97 */
98 this.selectedDestination_ = null; 98 this.selectedDestination_ = null;
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // current one. 383 // current one.
384 cr.dispatchSimpleEvent(this, PreviewGenerator.EventType.FAIL); 384 cr.dispatchSimpleEvent(this, PreviewGenerator.EventType.FAIL);
385 } 385 }
386 }; 386 };
387 387
388 // Export 388 // Export
389 return { 389 return {
390 PreviewGenerator: PreviewGenerator 390 PreviewGenerator: PreviewGenerator
391 }; 391 };
392 }); 392 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698