Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

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: updates Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« 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...) Expand 10 before | Expand all | Expand 10 after
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 to store PDFium's
237 * per-isolate data. The value needs to be between 0 and
238 * v8::Internals::kNumIsolateDataLots (exclusive).
239 */
240 unsigned int m_v8EmbedderSlot;
234 } IPDF_JSPLATFORM; 241 } IPDF_JSPLATFORM;
235 242
236 // Flags for Cursor type 243 // Flags for Cursor type
237 #define FXCT_ARROW 0 244 #define FXCT_ARROW 0
238 #define FXCT_NESW 1 245 #define FXCT_NESW 1
239 #define FXCT_NWSE 2 246 #define FXCT_NWSE 2
240 #define FXCT_VBEAM 3 247 #define FXCT_VBEAM 3
241 #define FXCT_HBEAM 4 248 #define FXCT_HBEAM 4
242 #define FXCT_HAND 5 249 #define FXCT_HAND 5
243 250
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 **/ 842 **/
836 DLLEXPORT void STDCALL FPDF_FFLDraw(FPDF_FORMHANDLE hHandle,FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, 843 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); 844 int size_x, int size_y, int rotate, int flags);
838 845
839 846
840 #ifdef __cplusplus 847 #ifdef __cplusplus
841 } 848 }
842 #endif 849 #endif
843 850
844 #endif // PUBLIC_FPDF_FORMFILL_H_ 851 #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
This is Rietveld 408576698