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/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual void HasUnsupportedFeature() override; | 50 virtual void HasUnsupportedFeature() override; |
51 virtual void Print() override; | 51 virtual void Print() override; |
52 virtual void SaveAs() override; | 52 virtual void SaveAs() override; |
53 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override; | 53 virtual PP_Bool IsFeatureEnabled(PP_PDFFeature feature) override; |
54 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id, | 54 virtual PP_Resource GetResourceImageForScale(PP_ResourceImage image_id, |
55 float scale) override; | 55 float scale) override; |
56 virtual PP_Resource GetResourceImage(PP_ResourceImage image_id) override; | 56 virtual PP_Resource GetResourceImage(PP_ResourceImage image_id) override; |
57 virtual PP_Bool IsOutOfProcess() override; | 57 virtual PP_Bool IsOutOfProcess() override; |
58 virtual void SetSelectedText(const char* selected_text) override; | 58 virtual void SetSelectedText(const char* selected_text) override; |
59 virtual void SetLinkUnderCursor(const char* url) override; | 59 virtual void SetLinkUnderCursor(const char* url) override; |
| 60 virtual void GetV8ExternalSnapshotData(const char** natives_data_out, |
| 61 int* natives_size_out, |
| 62 const char** snapshot_data_out, |
| 63 int* snapshot_size_out) override; |
60 | 64 |
61 private: | 65 private: |
62 std::string locale_; | 66 std::string locale_; |
63 | 67 |
64 DISALLOW_COPY_AND_ASSIGN(PDFResource); | 68 DISALLOW_COPY_AND_ASSIGN(PDFResource); |
65 }; | 69 }; |
66 | 70 |
67 } // namespace proxy | 71 } // namespace proxy |
68 } // namespace ppapi | 72 } // namespace ppapi |
69 | 73 |
70 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ | 74 #endif // PPAPI_PROXY_PDF_RESOURCE_H_ |
OLD | NEW |