| 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 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_ |
| OLD | NEW |