OLD | NEW |
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 destination item in a destination list. | 9 * Component that renders a destination item in a destination list. |
10 * @param {!cr.EventTarget} eventTarget Event target to dispatch selection | 10 * @param {!cr.EventTarget} eventTarget Event target to dispatch selection |
11 * events to. | 11 * events to. |
12 * @param {!print_preview.PrintTicketStore} printTicketStore Contains the | 12 * @param {!print_preview.PrintTicketStore} printTicketStore Contains the |
13 * print ticket to print. | 13 * print ticket to print. |
14 * @param {!print_preview.Destination} destination Destination data object to | |
15 * render. | |
16 * @param {!Object} capability Capability to render. | 14 * @param {!Object} capability Capability to render. |
17 * @constructor | 15 * @constructor |
18 * @extends {print_preview.Component} | 16 * @extends {print_preview.Component} |
19 */ | 17 */ |
20 function AdvancedSettingsItem(eventTarget, printTicketStore, capability) { | 18 function AdvancedSettingsItem(eventTarget, printTicketStore, capability) { |
21 print_preview.Component.call(this); | 19 print_preview.Component.call(this); |
22 | 20 |
23 /** | 21 /** |
24 * Event target to dispatch selection events to. | 22 * Event target to dispatch selection events to. |
25 * @private {!cr.EventTarget} | 23 * @private {!cr.EventTarget} |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 } | 295 } |
298 }); | 296 }); |
299 } | 297 } |
300 }; | 298 }; |
301 | 299 |
302 // Export | 300 // Export |
303 return { | 301 return { |
304 AdvancedSettingsItem: AdvancedSettingsItem | 302 AdvancedSettingsItem: AdvancedSettingsItem |
305 }; | 303 }; |
306 }); | 304 }); |
OLD | NEW |