Chromium Code Reviews

Side by Side Diff: public/fpdf_formfill.h

Issue 1235303003: Make v8 embedder data slot configurable (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef PUBLIC_FPDF_FORMFILL_H_ 7 #ifndef PUBLIC_FPDF_FORMFILL_H_
8 #define PUBLIC_FPDF_FORMFILL_H_ 8 #define PUBLIC_FPDF_FORMFILL_H_
9 9
10 #include "fpdfview.h" 10 #include "fpdfview.h"
(...skipping 213 matching lines...)
224 * pointer to FPDF_FORMFILLINFO interface. 224 * pointer to FPDF_FORMFILLINFO interface.
225 **/ 225 **/
226 void* m_pFormfillinfo; 226 void* m_pFormfillinfo;
227 227
228 /* Version 2. */ 228 /* Version 2. */
229 229
230 /** 230 /**
231 * pointer to the v8::Isolate to use, or NULL to force PDFium to create one . 231 * pointer to the v8::Isolate to use, or NULL to force PDFium to create one .
232 **/ 232 **/
233 void* m_isolate; 233 void* m_isolate;
234
235 /**
236 * The embedder data slot to use in the v8::Isolate.
Tom Sepez 2015/07/15 22:27:57 nit: need a better comment here, as in what to pas
237 */
238 unsigned int m_v8EmbedderSlot;
234 } IPDF_JSPLATFORM; 239 } IPDF_JSPLATFORM;
235 240
236 // Flags for Cursor type 241 // Flags for Cursor type
237 #define FXCT_ARROW 0 242 #define FXCT_ARROW 0
238 #define FXCT_NESW 1 243 #define FXCT_NESW 1
239 #define FXCT_NWSE 2 244 #define FXCT_NWSE 2
240 #define FXCT_VBEAM 3 245 #define FXCT_VBEAM 3
241 #define FXCT_HBEAM 4 246 #define FXCT_HBEAM 4
242 #define FXCT_HAND 5 247 #define FXCT_HAND 5
243 248
(...skipping 591 matching lines...)
835 **/ 840 **/
836 DLLEXPORT void STDCALL FPDF_FFLDraw(FPDF_FORMHANDLE hHandle,FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, 841 DLLEXPORT void STDCALL FPDF_FFLDraw(FPDF_FORMHANDLE hHandle,FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y,
837 int size_x, int size_y, int rotate, int flags); 842 int size_x, int size_y, int rotate, int flags);
838 843
839 844
840 #ifdef __cplusplus 845 #ifdef __cplusplus
841 } 846 }
842 #endif 847 #endif
843 848
844 #endif // PUBLIC_FPDF_FORMFILL_H_ 849 #endif // PUBLIC_FPDF_FORMFILL_H_
OLDNEW
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine