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

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

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
« no previous file with comments | « components/printing/browser/print_manager.h ('k') | components/printing/common/print_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/printing/browser/print_manager.cc
diff --git a/components/printing/browser/print_manager.cc b/components/printing/browser/print_manager.cc
index 0773ab4e5507eb29327e9f2e8771a18c97a45bec..1094a260bb619b2e3e5aaa014b8a61732face137 100644
--- a/components/printing/browser/print_manager.cc
+++ b/components/printing/browser/print_manager.cc
@@ -18,7 +18,9 @@ PrintManager::PrintManager(content::WebContents* contents)
PrintManager::~PrintManager() {
}
-bool PrintManager::OnMessageReceived(const IPC::Message& message) {
+bool PrintManager::OnMessageReceived(
+ const IPC::Message& message,
+ content::RenderFrameHost* render_frame_host) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(PrintManager, message)
IPC_MESSAGE_HANDLER(PrintHostMsg_DidGetPrintedPagesCount,
@@ -52,7 +54,7 @@ void PrintManager::OnPrintingFailed(int cookie) {
#endif
}
-void PrintManager::RenderProcessGone(base::TerminationStatus status) {
+void PrintManager::PrintingRenderFrameDeleted() {
#if defined(OS_ANDROID)
PdfWritingDone(false);
#endif
« no previous file with comments | « components/printing/browser/print_manager.h ('k') | components/printing/common/print_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698