| OLD | NEW |
| 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 // <include src="../../../../ui/webui/resources/js/cr/ui/node_utils.js"> | |
| 6 | |
| 7 cr.define('print_preview', function() { | 5 cr.define('print_preview', function() { |
| 8 'use strict'; | 6 'use strict'; |
| 9 | 7 |
| 10 /** | 8 /** |
| 11 * Creates a PrintHeader object. This object encapsulates all the elements | 9 * Creates a PrintHeader object. This object encapsulates all the elements |
| 12 * and logic related to the top part of the left pane in print_preview.html. | 10 * and logic related to the top part of the left pane in print_preview.html. |
| 13 * @param {!print_preview.PrintTicketStore} printTicketStore Used to read | 11 * @param {!print_preview.PrintTicketStore} printTicketStore Used to read |
| 14 * information about the document. | 12 * information about the document. |
| 15 * @param {!print_preview.DestinationStore} destinationStore Used to get the | 13 * @param {!print_preview.DestinationStore} destinationStore Used to get the |
| 16 * selected destination. | 14 * selected destination. |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 this.getChildElement('button.print').focus(); | 276 this.getChildElement('button.print').focus(); |
| 279 } | 277 } |
| 280 } | 278 } |
| 281 }; | 279 }; |
| 282 | 280 |
| 283 // Export | 281 // Export |
| 284 return { | 282 return { |
| 285 PrintHeader: PrintHeader | 283 PrintHeader: PrintHeader |
| 286 }; | 284 }; |
| 287 }); | 285 }); |
| OLD | NEW |