| 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 * Print destination data object that holds data for both local and cloud | 9 * Print destination data object that holds data for both local and cloud |
| 10 * destinations. | 10 * destinations. |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 /** | 393 /** |
| 394 * @return {?boolean} Whether the user has accepted the terms-of-service of | 394 * @return {?boolean} Whether the user has accepted the terms-of-service of |
| 395 * the print destination or {@code null} if a terms-of-service does not | 395 * the print destination or {@code null} if a terms-of-service does not |
| 396 * apply. | 396 * apply. |
| 397 */ | 397 */ |
| 398 get isTosAccepted() { | 398 get isTosAccepted() { |
| 399 return this.isTosAccepted_; | 399 return this.isTosAccepted_; |
| 400 }, | 400 }, |
| 401 | 401 |
| 402 /** | 402 /** |
| 403 * @param {?boolean} Whether the user has accepted the terms-of-service of | 403 * @param {?boolean} isTosAccepted Whether the user has accepted the |
| 404 * the print destination or {@code null} if a terms-of-service does not | 404 * terms-of-service of the print destination or {@code null} if |
| 405 * apply. | 405 * a terms-of-service does not apply. |
| 406 */ | 406 */ |
| 407 set isTosAccepted(isTosAccepted) { | 407 set isTosAccepted(isTosAccepted) { |
| 408 this.isTosAccepted_ = isTosAccepted; | 408 this.isTosAccepted_ = isTosAccepted; |
| 409 }, | 409 }, |
| 410 | 410 |
| 411 /** | 411 /** |
| 412 * @return {!Array.<string>} Properties (besides display name) to match | 412 * @return {!Array.<string>} Properties (besides display name) to match |
| 413 * search queries against. | 413 * search queries against. |
| 414 */ | 414 */ |
| 415 get extraPropertiesToMatch() { | 415 get extraPropertiesToMatch() { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 * }} | 456 * }} |
| 457 */ | 457 */ |
| 458 var Cdd = Object; | 458 var Cdd = Object; |
| 459 | 459 |
| 460 // Export | 460 // Export |
| 461 return { | 461 return { |
| 462 Destination: Destination, | 462 Destination: Destination, |
| 463 Cdd: Cdd | 463 Cdd: Cdd |
| 464 }; | 464 }; |
| 465 }); | 465 }); |
| OLD | NEW |