OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 PPAPI_THUNK_PPB_PDF_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_PDF_API_H_ |
6 #define PPAPI_THUNK_PPB_PDF_API_H_ | 6 #define PPAPI_THUNK_PPB_PDF_API_H_ |
7 | 7 |
8 #include "ppapi/c/private/ppb_pdf.h" | 8 #include "ppapi/c/private/ppb_pdf.h" |
9 #include "ppapi/shared_impl/singleton_resource_id.h" | 9 #include "ppapi/shared_impl/singleton_resource_id.h" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 virtual void HasUnsupportedFeature() = 0; | 25 virtual void HasUnsupportedFeature() = 0; |
26 virtual void SaveAs() = 0; | 26 virtual void SaveAs() = 0; |
27 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) = 0; | 27 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) = 0; |
28 virtual void Print() = 0; | 28 virtual void Print() = 0; |
29 virtual void SetSelectedText(const char* selected_text) = 0; | 29 virtual void SetSelectedText(const char* selected_text) = 0; |
30 virtual void SetLinkUnderCursor(const char* url) = 0; | 30 virtual void SetLinkUnderCursor(const char* url) = 0; |
31 virtual void GetV8ExternalSnapshotData(const char** natives_data_out, | 31 virtual void GetV8ExternalSnapshotData(const char** natives_data_out, |
32 int* natives_size_out, | 32 int* natives_size_out, |
33 const char** snapshot_data_out, | 33 const char** snapshot_data_out, |
34 int* snapshot_size_out) = 0; | 34 int* snapshot_size_out) = 0; |
35 | 35 virtual void SetAccessibilityViewportInfo( |
| 36 PP_PrivateAccessibilityViewportInfo* viewport_info) = 0; |
| 37 virtual void SetAccessibilityDocInfo( |
| 38 PP_PrivateAccessibilityDocInfo* doc_info) = 0; |
| 39 virtual void SetAccessibilityPageInfo( |
| 40 PP_PrivateAccessibilityPageInfo* page_info, |
| 41 PP_PrivateAccessibilityTextRunInfo text_runs[], |
| 42 PP_PrivateAccessibilityCharInfo chars[]) = 0; |
36 static const SingletonResourceID kSingletonResourceID = PDF_SINGLETON_ID; | 43 static const SingletonResourceID kSingletonResourceID = PDF_SINGLETON_ID; |
37 }; | 44 }; |
38 | 45 |
39 } // namespace thunk | 46 } // namespace thunk |
40 } // namespace ppapi | 47 } // namespace ppapi |
41 | 48 |
42 #endif // PPAPI_THUNK_PPB_PDF_API_H_ | 49 #endif // PPAPI_THUNK_PPB_PDF_API_H_ |
OLD | NEW |