| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_PROXY_PDF_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_PDF_RESOURCE_H_ |
| 6 #define PPAPI_PROXY_PDF_RESOURCE_H_ | 6 #define PPAPI_PROXY_PDF_RESOURCE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 void HasUnsupportedFeature() override; | 47 void HasUnsupportedFeature() override; |
| 48 void Print() override; | 48 void Print() override; |
| 49 void SaveAs() override; | 49 void SaveAs() override; |
| 50 PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override; | 50 PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override; |
| 51 void SetSelectedText(const char* selected_text) override; | 51 void SetSelectedText(const char* selected_text) override; |
| 52 void SetLinkUnderCursor(const char* url) override; | 52 void SetLinkUnderCursor(const char* url) override; |
| 53 void GetV8ExternalSnapshotData(const char** natives_data_out, | 53 void GetV8ExternalSnapshotData(const char** natives_data_out, |
| 54 int* natives_size_out, | 54 int* natives_size_out, |
| 55 const char** snapshot_data_out, | 55 const char** snapshot_data_out, |
| 56 int* snapshot_size_out) override; | 56 int* snapshot_size_out) override; |
| 57 void SetAccessibilityViewportInfo( |
| 58 PP_PrivateAccessibilityViewportInfo* viewport_info) override; |
| 59 void SetAccessibilityDocInfo(PP_PrivateAccessibilityDocInfo* doc_info) |
| 60 override; |
| 61 void SetAccessibilityPageInfo( |
| 62 uint32_t page_index, |
| 63 PP_PrivateAccessibilityPageInfo* page_info) override; |
| 64 void SetAccessibilityTextRunInfo( |
| 65 uint32_t page_index, |
| 66 uint32_t text_run_index, |
| 67 PP_PrivateAccessibilityTextRunInfo* text_run_info, |
| 68 PP_PrivateAccessibilityCharInfo chars[]) override; |
| 57 | 69 |
| 58 private: | 70 private: |
| 59 std::string locale_; | 71 std::string locale_; |
| 60 | 72 |
| 61 DISALLOW_COPY_AND_ASSIGN(PDFResource); | 73 DISALLOW_COPY_AND_ASSIGN(PDFResource); |
| 62 }; | 74 }; |
| 63 | 75 |
| 64 } // namespace proxy | 76 } // namespace proxy |
| 65 } // namespace ppapi | 77 } // namespace ppapi |
| 66 | 78 |
| 67 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ | 79 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ |
| OLD | NEW |