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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_ui.h

Issue 2962983002: Print Preview: change getPreview to cr.sendWithPromise (Closed)
Patch Set: Fix tests Created 3 years, 6 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/ui/webui/print_preview/print_preview_ui.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.h b/chrome/browser/ui/webui/print_preview/print_preview_ui.h
index 2abe24e64a1dc61ee0ac4e134509471ad12fe53e..19756a38aefa3c789372f64fb4dd595881359cca 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.h
@@ -109,7 +109,7 @@ class PrintPreviewUI : public ConstrainedWebDialogUI {
int preview_request_id);
// Notifies the Web UI that the print preview failed to render.
- void OnPrintPreviewFailed();
+ void OnPrintPreviewFailed(int request_id);
// Notified the Web UI that this print preview dialog's RenderProcess has been
// closed, which may occur for several reasons, e.g. tab closure or crash.
@@ -121,7 +121,7 @@ class PrintPreviewUI : public ConstrainedWebDialogUI {
// Notifies the Web UI that the printer is unavailable or its settings are
// invalid.
- void OnInvalidPrinterSettings();
+ void OnInvalidPrinterSettings(int request_id);
// Notifies the Web UI to cancel the pending preview request.
void OnCancelPendingPreviewRequest();

Powered by Google App Engine
This is Rietveld 408576698