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

Side by Side Diff: public/fpdf_formfill.h

Issue 1381633008: Merge to XFA: Pass v8::Isolate to PDFium at init time. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebase Created 5 years, 2 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
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 void* filePath, 292 void* filePath,
293 int length); 293 int length);
294 294
295 /** 295 /**
296 * pointer to FPDF_FORMFILLINFO interface. 296 * pointer to FPDF_FORMFILLINFO interface.
297 **/ 297 **/
298 void* m_pFormfillinfo; 298 void* m_pFormfillinfo;
299 299
300 /* Version 2. */ 300 /* Version 2. */
301 301
302 /** 302 void* m_isolate; /* Unused in v3, retain for compatibility. */
303 * pointer to the v8::Isolate to use, or NULL to force PDFium to create one. 303 unsigned int m_v8EmbedderSlot; /* Unused in v3, retain for compatibility. */
304 **/
305 void* m_isolate;
306 304
307 /** 305 /* Version 3. */
308 * The embedder data slot to use in the v8::Isolate to store PDFium's 306 /* Version 3 moves m_Isolate and m_v8EmbedderSlot to FPDF_LIBRARY_CONFIG. */
309 * per-isolate data. The value needs to be between 0 and 307
310 * v8::Internals::kNumIsolateDataLots (exclusive).
311 */
312 unsigned int m_v8EmbedderSlot;
313 } IPDF_JSPLATFORM; 308 } IPDF_JSPLATFORM;
314 309
315 // Flags for Cursor type 310 // Flags for Cursor type
316 #define FXCT_ARROW 0 311 #define FXCT_ARROW 0
317 #define FXCT_NESW 1 312 #define FXCT_NESW 1
318 #define FXCT_NWSE 2 313 #define FXCT_NWSE 2
319 #define FXCT_VBEAM 3 314 #define FXCT_VBEAM 3
320 #define FXCT_HBEAM 4 315 #define FXCT_HBEAM 4
321 #define FXCT_HAND 5 316 #define FXCT_HAND 5
322 317
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 DLLEXPORT FPDF_BOOL STDCALL 1662 DLLEXPORT FPDF_BOOL STDCALL
1668 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, 1663 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle,
1669 FPDF_BYTESTRING bsText, 1664 FPDF_BYTESTRING bsText,
1670 FPDF_DWORD size); 1665 FPDF_DWORD size);
1671 1666
1672 #ifdef __cplusplus 1667 #ifdef __cplusplus
1673 } 1668 }
1674 #endif 1669 #endif
1675 1670
1676 #endif // PUBLIC_FPDF_FORMFILL_H_ 1671 #endif // PUBLIC_FPDF_FORMFILL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698