Index: chrome/renderer/pepper/pepper_pdf_host.cc |
=================================================================== |
--- chrome/renderer/pepper/pepper_pdf_host.cc (revision 270145) |
+++ chrome/renderer/pepper/pepper_pdf_host.cc (working copy) |
@@ -112,26 +112,27 @@ |
int32_t PepperPDFHost::OnResourceMessageReceived( |
const IPC::Message& msg, |
ppapi::host::HostMessageContext* context) { |
- IPC_BEGIN_MESSAGE_MAP(PepperPDFHost, msg) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_GetLocalizedString, |
- OnHostMsgGetLocalizedString) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_DidStartLoading, |
- OnHostMsgDidStartLoading) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_DidStopLoading, |
- OnHostMsgDidStopLoading) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_UserMetricsRecordAction, |
- OnHostMsgUserMetricsRecordAction) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_HasUnsupportedFeature, |
- OnHostMsgHasUnsupportedFeature) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_Print, OnHostMsgPrint) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_SaveAs, OnHostMsgSaveAs) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_GetResourceImage, |
- OnHostMsgGetResourceImage) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_SetSelectedText, |
- OnHostMsgSetSelectedText) |
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_SetLinkUnderCursor, |
- OnHostMsgSetLinkUnderCursor) |
- IPC_END_MESSAGE_MAP() |
+ PPAPI_BEGIN_MESSAGE_MAP(PepperPDFHost, msg) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_GetLocalizedString, |
+ OnHostMsgGetLocalizedString) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_DidStartLoading, |
+ OnHostMsgDidStartLoading) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_DidStopLoading, |
+ OnHostMsgDidStopLoading) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_UserMetricsRecordAction, |
+ OnHostMsgUserMetricsRecordAction) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_HasUnsupportedFeature, |
+ OnHostMsgHasUnsupportedFeature) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_Print, OnHostMsgPrint) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL_0(PpapiHostMsg_PDF_SaveAs, |
+ OnHostMsgSaveAs) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_GetResourceImage, |
+ OnHostMsgGetResourceImage) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_SetSelectedText, |
+ OnHostMsgSetSelectedText) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_SetLinkUnderCursor, |
+ OnHostMsgSetLinkUnderCursor) |
+ PPAPI_END_MESSAGE_MAP() |
return PP_ERROR_FAILED; |
} |