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

Unified Diff: chrome/browser/resources/print_preview/search/cloud_destination_list.js

Issue 2760753002: [CUPS] Implement the local CUPS printer setup waiting UI. (Closed)
Patch Set: . Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/search/cloud_destination_list.js
diff --git a/chrome/browser/resources/print_preview/search/cloud_destination_list.js b/chrome/browser/resources/print_preview/search/cloud_destination_list.js
index e8c671009c9493c16e5dea9af173f5b7f4be79dc..31cc529b451eeffa0cb596af4468fb1064f2f045 100644
--- a/chrome/browser/resources/print_preview/search/cloud_destination_list.js
+++ b/chrome/browser/resources/print_preview/search/cloud_destination_list.js
@@ -9,13 +9,16 @@ cr.define('print_preview', function() {
* Sub-class of a destination list that shows cloud-based destinations.
* @param {!cr.EventTarget} eventTarget Event target to pass to destination
* items for dispatching SELECT events.
+ * @param {!print_preview.DestinationStore} Data store containing all the
+ * destinations.
* @constructor
* @extends {print_preview.DestinationList}
*/
- function CloudDestinationList(eventTarget) {
+ function CloudDestinationList(eventTarget, destinationStore) {
print_preview.DestinationList.call(
this,
eventTarget,
+ destinationStore,
loadTimeData.getString('cloudDestinationsTitle'),
loadTimeData.getString('manage'));
};

Powered by Google App Engine
This is Rietveld 408576698