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 cr.define('print_preview', function() { | 5 cr.define('print_preview', function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 /** | 8 /** |
9 * Mutable reference to a CDD object. | 9 * Mutable reference to a CDD object. |
10 * @constructor | 10 * @constructor |
(...skipping 16 matching lines...) Expand all Loading... |
27 /** | 27 /** |
28 * @param {!print_preview.Cdd} capabilities New instance to put into the | 28 * @param {!print_preview.Cdd} capabilities New instance to put into the |
29 * holder. | 29 * holder. |
30 */ | 30 */ |
31 set: function(capabilities) { | 31 set: function(capabilities) { |
32 this.capabilities_ = capabilities; | 32 this.capabilities_ = capabilities; |
33 } | 33 } |
34 }; | 34 }; |
35 | 35 |
36 // Export | 36 // Export |
37 return { | 37 return {CapabilitiesHolder: CapabilitiesHolder}; |
38 CapabilitiesHolder: CapabilitiesHolder | |
39 }; | |
40 }); | 38 }); |
OLD | NEW |