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

Side by Side 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, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/pdf/renderer/pepper_pdf_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 5 #ifndef COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 ppapi::host::HostMessageContext* context, 82 ppapi::host::HostMessageContext* context,
83 const std::string& action); 83 const std::string& action);
84 int32_t OnHostMsgHasUnsupportedFeature( 84 int32_t OnHostMsgHasUnsupportedFeature(
85 ppapi::host::HostMessageContext* context); 85 ppapi::host::HostMessageContext* context);
86 int32_t OnHostMsgPrint(ppapi::host::HostMessageContext* context); 86 int32_t OnHostMsgPrint(ppapi::host::HostMessageContext* context);
87 int32_t OnHostMsgSaveAs(ppapi::host::HostMessageContext* context); 87 int32_t OnHostMsgSaveAs(ppapi::host::HostMessageContext* context);
88 int32_t OnHostMsgSetSelectedText(ppapi::host::HostMessageContext* context, 88 int32_t OnHostMsgSetSelectedText(ppapi::host::HostMessageContext* context,
89 const base::string16& selected_text); 89 const base::string16& selected_text);
90 int32_t OnHostMsgSetLinkUnderCursor(ppapi::host::HostMessageContext* context, 90 int32_t OnHostMsgSetLinkUnderCursor(ppapi::host::HostMessageContext* context,
91 const std::string& url); 91 const std::string& url);
92 int32_t OnHostMsgSetAccessibilityViewportInfo(
93 ppapi::host::HostMessageContext* context,
94 const PP_PrivateAccessibilityViewportInfo& viewport_info);
95 int32_t OnHostMsgSetAccessibilityDocInfo(
96 ppapi::host::HostMessageContext* context,
97 const PP_PrivateAccessibilityDocInfo& doc_info);
98 int32_t OnHostMsgSetAccessibilityPageInfo(
99 ppapi::host::HostMessageContext* context,
100 const PP_PrivateAccessibilityPageInfo& page_info,
101 const std::vector<PP_PrivateAccessibilityTextRunInfo>& text_runs,
102 const std::vector<PP_PrivateAccessibilityCharInfo>& chars);
92 103
93 content::RendererPpapiHost* host_; 104 content::RendererPpapiHost* host_;
94 105
95 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); 106 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost);
96 }; 107 };
97 108
98 } // namespace pdf 109 } // namespace pdf
99 110
100 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 111 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
OLDNEW
« 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