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

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: Address feedback and run git cl format 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') | no next file with comments »
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..2c7eb3306cafb210712747b8d74a41d2f771c6d7 100644
--- a/components/pdf/renderer/pepper_pdf_host.h
+++ b/components/pdf/renderer/pepper_pdf_host.h
@@ -89,6 +89,17 @@ 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,
+ const PP_PrivateAccessibilityPageInfo& page_info,
+ const std::vector<PP_PrivateAccessibilityTextRunInfo>& text_runs,
+ 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698