Index: components/pdf/renderer/ppb_pdf_impl.h |
diff --git a/components/pdf/renderer/ppb_pdf_impl.h b/components/pdf/renderer/ppb_pdf_impl.h |
index 55eda541b326dc8cc57aeb5ebcaacdee31e33255..086ecc0f3f94f168fbc476689712fbe572a44c9b 100644 |
--- a/components/pdf/renderer/ppb_pdf_impl.h |
+++ b/components/pdf/renderer/ppb_pdf_impl.h |
@@ -19,7 +19,7 @@ class PPB_PDF_Impl { |
virtual bool IsPrintingEnabled(PP_Instance instance_id) = 0; |
- virtual void Print(PP_Instance instance_id) = 0; |
+ virtual bool Print(PP_Instance instance_id) = 0; |
}; |
// Returns a pointer to the interface implementing PPB_PDF that is exposed |
@@ -27,8 +27,9 @@ class PPB_PDF_Impl { |
static const PPB_PDF* GetInterface(); |
// Invokes the "Print" command for the given instance as if the user right |
- // clicked on it and selected "Print". |
- static void InvokePrintingForInstance(PP_Instance instance); |
+ // clicked on it and selected "Print". Returns if the "Print" command was |
+ // issued or not. |
+ static bool InvokePrintingForInstance(PP_Instance instance); |
static void SetPrintDelegate(PrintDelegate* print_delegate); |
}; |