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

Unified Diff: chrome/browser/resources/print_preview/search/recent_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/recent_destination_list.js
diff --git a/chrome/browser/resources/print_preview/search/recent_destination_list.js b/chrome/browser/resources/print_preview/search/recent_destination_list.js
index f932082564a729b60f5849671257c83361441c27..b60ed61c5a683215d9c7d0bccf3db7ba3185732c 100644
--- a/chrome/browser/resources/print_preview/search/recent_destination_list.js
+++ b/chrome/browser/resources/print_preview/search/recent_destination_list.js
@@ -10,13 +10,16 @@ cr.define('print_preview', function() {
* does not render a "Show all" button.
* @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 RecentDestinationList(eventTarget) {
+ function RecentDestinationList(eventTarget, destinationStore) {
print_preview.DestinationList.call(
this,
eventTarget,
+ destinationStore,
loadTimeData.getString('recentDestinationsTitle'),
null /*actionLinkLabel*/,
true /*opt_showAll*/);

Powered by Google App Engine
This is Rietveld 408576698