OLD | NEW |
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const PP_PrivateAccessibilityViewportInfo& viewport_info); | 97 const PP_PrivateAccessibilityViewportInfo& viewport_info); |
98 int32_t OnHostMsgSetAccessibilityDocInfo( | 98 int32_t OnHostMsgSetAccessibilityDocInfo( |
99 ppapi::host::HostMessageContext* context, | 99 ppapi::host::HostMessageContext* context, |
100 const PP_PrivateAccessibilityDocInfo& doc_info); | 100 const PP_PrivateAccessibilityDocInfo& doc_info); |
101 int32_t OnHostMsgSetAccessibilityPageInfo( | 101 int32_t OnHostMsgSetAccessibilityPageInfo( |
102 ppapi::host::HostMessageContext* context, | 102 ppapi::host::HostMessageContext* context, |
103 const PP_PrivateAccessibilityPageInfo& page_info, | 103 const PP_PrivateAccessibilityPageInfo& page_info, |
104 const std::vector<PP_PrivateAccessibilityTextRunInfo>& text_runs, | 104 const std::vector<PP_PrivateAccessibilityTextRunInfo>& text_runs, |
105 const std::vector<PP_PrivateAccessibilityCharInfo>& chars); | 105 const std::vector<PP_PrivateAccessibilityCharInfo>& chars); |
106 | 106 |
107 void CreatePdfAccessibilityTreeIfNeeded( | 107 void CreatePdfAccessibilityTreeIfNeeded(); |
108 content::PepperPluginInstance* instance); | |
109 | 108 |
110 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_; | 109 std::unique_ptr<PdfAccessibilityTree> pdf_accessibility_tree_; |
111 | 110 |
112 content::RendererPpapiHost* host_; | 111 content::RendererPpapiHost* host_; |
113 | 112 |
114 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); | 113 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); |
115 }; | 114 }; |
116 | 115 |
117 } // namespace pdf | 116 } // namespace pdf |
118 | 117 |
119 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ | 118 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ |
OLD | NEW |