| 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( |
| 60 PP_PrivateAccessibilityDocInfo* doc_info) override; |
| 61 void SetAccessibilityPageInfo( |
| 62 PP_PrivateAccessibilityPageInfo* page_info, |
| 63 PP_PrivateAccessibilityTextRunInfo text_runs[], |
| 64 PP_PrivateAccessibilityCharInfo chars[]) override; |
| 57 | 65 |
| 58 private: | 66 private: |
| 59 std::string locale_; | 67 std::string locale_; |
| 60 | 68 |
| 61 DISALLOW_COPY_AND_ASSIGN(PDFResource); | 69 DISALLOW_COPY_AND_ASSIGN(PDFResource); |
| 62 }; | 70 }; |
| 63 | 71 |
| 64 } // namespace proxy | 72 } // namespace proxy |
| 65 } // namespace ppapi | 73 } // namespace ppapi |
| 66 | 74 |
| 67 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ | 75 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ |
| OLD | NEW |