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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 uint32_t page_index, |
| 101 const PP_PrivateAccessibilityPageInfo& page_info); |
| 102 int32_t OnHostMsgSetAccessibilityTextRunInfo( |
| 103 ppapi::host::HostMessageContext* context, |
| 104 uint32_t page_index, |
| 105 uint32_t text_run_index, |
| 106 const PP_PrivateAccessibilityTextRunInfo& text_run_info, |
| 107 const std::vector<PP_PrivateAccessibilityCharInfo>& chars); |
92 | 108 |
93 content::RendererPpapiHost* host_; | 109 content::RendererPpapiHost* host_; |
94 | 110 |
95 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); | 111 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); |
96 }; | 112 }; |
97 | 113 |
98 } // namespace pdf | 114 } // namespace pdf |
99 | 115 |
100 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ | 116 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ |
OLD | NEW |