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_C_PRIVATE_PPB_PDF_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPB_PDF_H_ |
6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ | 6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_font_dev.h" | 8 #include "ppapi/c/dev/ppb_font_dev.h" |
9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 PP_Bool (*IsOutOfProcess)(PP_Instance instance); | 165 PP_Bool (*IsOutOfProcess)(PP_Instance instance); |
166 | 166 |
167 // Sets the selected text of the plugin. | 167 // Sets the selected text of the plugin. |
168 void(*SetSelectedText)(PP_Instance instance, const char* selected_text); | 168 void(*SetSelectedText)(PP_Instance instance, const char* selected_text); |
169 | 169 |
170 // Sets the link currently under the cursor. | 170 // Sets the link currently under the cursor. |
171 void (*SetLinkUnderCursor)(PP_Instance instance, const char* url); | 171 void (*SetLinkUnderCursor)(PP_Instance instance, const char* url); |
172 | 172 |
173 // Gets pointers to both the mmap'd V8 snapshot files and their sizes. | 173 // Gets pointers to both the mmap'd V8 snapshot files and their sizes. |
174 // This is needed when loading V8's initial snapshot from external files. | 174 // This is needed when loading V8's initial snapshot from external files. |
175 void (*GetV8ExternalSnapshotData)(const char** natives_data_out, | 175 void (*GetV8ExternalSnapshotData)(PP_Instance instance, |
| 176 const char** natives_data_out, |
176 int* natives_size_out, | 177 int* natives_size_out, |
177 const char** snapshot_data_out, | 178 const char** snapshot_data_out, |
178 int* snapshot_size_out); | 179 int* snapshot_size_out); |
179 }; | 180 }; |
180 | 181 |
181 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ | 182 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |
OLD | NEW |