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

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

Issue 2974183002: Remove bad CallJavascriptFunctionUnsafe call from PrintPreviewUI (Closed)
Patch Set: Rebase Created 3 years, 5 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_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
index 5b55691f6a62d13f2011f4e8c64886dd3e7d1c16..44c0125a3d394325a2a7957e3a8ce6d63705ff25 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -86,6 +86,9 @@ class PrintPreviewHandler
// Called when print preview is ready.
void OnPrintPreviewReady(int preview_uid, int request_id);
+ // Called when a print request is cancelled due to its initiator closing.
+ void OnPrintRequestCancelled();
+
// Send the print preset options from the document.
void SendPrintPresetOptions(bool disable_scaling, int copies, int duplex);
« no previous file with comments | « chrome/browser/printing/background_printing_manager.cc ('k') | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698