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

Unified Diff: components/printing/browser/print_manager.h

Issue 2508923003: Make printing work better with OOPIF. (try 2) (Closed)
Patch Set: Fix android_webview Created 4 years, 1 month 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: components/printing/browser/print_manager.h
diff --git a/components/printing/browser/print_manager.h b/components/printing/browser/print_manager.h
index 40578c9c13f97044040a94c334289aa1f46177ba..8fdba958d581990db2fd2a300ef026d7dd2adaea 100644
--- a/components/printing/browser/print_manager.h
+++ b/components/printing/browser/print_manager.h
@@ -39,10 +39,11 @@ class PrintManager : public content::WebContentsObserver {
explicit PrintManager(content::WebContents* contents);
// Terminates or cancels the print job if one was pending.
- void RenderProcessGone(base::TerminationStatus status) override;
+ void PrintingRenderFrameDeleted();
// content::WebContentsObserver
- bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message,
+ content::RenderFrameHost* render_frame_host) override;
// IPC handlers
virtual void OnDidGetPrintedPagesCount(int cookie, int number_pages);
« no previous file with comments | « chrome/renderer/printing/chrome_print_web_view_helper_delegate.cc ('k') | components/printing/browser/print_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698