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

Unified Diff: components/pdf/renderer/pepper_pdf_host.h

Issue 1953053002: Add private PPAPI interfaces for PDFium accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another speculative compiler error fix Created 4 years, 7 months 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 | « no previous file | components/pdf/renderer/pepper_pdf_host.cc » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pdf/renderer/pepper_pdf_host.h
diff --git a/components/pdf/renderer/pepper_pdf_host.h b/components/pdf/renderer/pepper_pdf_host.h
index 7787229a6fc139de5aa3a5998161fa7ff7fd852e..e5f6713578056049cd564ed302483fc89f592132 100644
--- a/components/pdf/renderer/pepper_pdf_host.h
+++ b/components/pdf/renderer/pepper_pdf_host.h
@@ -89,6 +89,22 @@ class PepperPDFHost : public ppapi::host::ResourceHost {
const base::string16& selected_text);
int32_t OnHostMsgSetLinkUnderCursor(ppapi::host::HostMessageContext* context,
const std::string& url);
+ int32_t OnHostMsgSetAccessibilityViewportInfo(
+ ppapi::host::HostMessageContext* context,
+ const PP_PrivateAccessibilityViewportInfo& viewport_info);
+ int32_t OnHostMsgSetAccessibilityDocInfo(
+ ppapi::host::HostMessageContext* context,
+ const PP_PrivateAccessibilityDocInfo& doc_info);
+ int32_t OnHostMsgSetAccessibilityPageInfo(
+ ppapi::host::HostMessageContext* context,
+ uint32_t page_index,
+ const PP_PrivateAccessibilityPageInfo& page_info);
+ int32_t OnHostMsgSetAccessibilityTextRunInfo(
+ ppapi::host::HostMessageContext* context,
+ uint32_t page_index,
+ uint32_t text_run_index,
+ const PP_PrivateAccessibilityTextRunInfo& text_run_info,
+ const std::vector<PP_PrivateAccessibilityCharInfo>& chars);
content::RendererPpapiHost* host_;
« no previous file with comments | « no previous file | components/pdf/renderer/pepper_pdf_host.cc » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698