Index: components/pdf/renderer/pepper_pdf_host.cc |
diff --git a/components/pdf/renderer/pepper_pdf_host.cc b/components/pdf/renderer/pepper_pdf_host.cc |
index ce0eddba0a51df1a5ce3d22f5df153679cbf3509..29d3de143c54fa521eee62d7d84bba3fa3d2f21e 100644 |
--- a/components/pdf/renderer/pepper_pdf_host.cc |
+++ b/components/pdf/renderer/pepper_pdf_host.cc |
@@ -79,6 +79,15 @@ int32_t PepperPDFHost::OnResourceMessageReceived( |
OnHostMsgSetLinkUnderCursor) |
PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_PDF_SetContentRestriction, |
OnHostMsgSetContentRestriction) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL( |
+ PpapiHostMsg_PDF_SetAccessibilityViewportInfo, |
+ OnHostMsgSetAccessibilityViewportInfo) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL( |
+ PpapiHostMsg_PDF_SetAccessibilityDocInfo, |
+ OnHostMsgSetAccessibilityDocInfo) |
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL( |
+ PpapiHostMsg_PDF_SetAccessibilityPageInfo, |
+ OnHostMsgSetAccessibilityPageInfo) |
PPAPI_END_MESSAGE_MAP() |
return PP_ERROR_FAILED; |
} |
@@ -183,4 +192,24 @@ int32_t PepperPDFHost::OnHostMsgSetLinkUnderCursor( |
return PP_OK; |
} |
+int32_t PepperPDFHost::OnHostMsgSetAccessibilityViewportInfo( |
+ ppapi::host::HostMessageContext* context, |
+ const PP_PrivateAccessibilityViewportInfo& viewport_info) { |
+ return PP_OK; |
+} |
+ |
+int32_t PepperPDFHost::OnHostMsgSetAccessibilityDocInfo( |
+ ppapi::host::HostMessageContext* context, |
+ const PP_PrivateAccessibilityDocInfo& doc_info) { |
+ return PP_OK; |
+} |
+ |
+int32_t PepperPDFHost::OnHostMsgSetAccessibilityPageInfo( |
+ ppapi::host::HostMessageContext* context, |
+ const PP_PrivateAccessibilityPageInfo& page_info, |
+ const std::vector<PP_PrivateAccessibilityTextRunInfo>& text_run_info, |
+ const std::vector<PP_PrivateAccessibilityCharInfo>& chars) { |
+ return PP_OK; |
+} |
+ |
} // namespace pdf |