summaryrefslogtreecommitdiff
path: root/public/fpdf_formfill.h
diff options
context:
space:
mode:
authorJochen Eisinger <jochen@chromium.org>2015-07-15 14:31:29 +0200
committerJochen Eisinger <jochen@chromium.org>2015-07-15 14:31:29 +0200
commit1c79928b4ade95806d0351a21b4d4727d6c8ed38 (patch)
tree379e7f2e8f1ecb15272329ff65f78b3990d66e65 /public/fpdf_formfill.h
parent304578020122cc4d2a4a8c1598694ef2b9be92b5 (diff)
downloadpdfium-1c79928b4ade95806d0351a21b4d4727d6c8ed38.tar.xz
Plumb in an externally created v8::Isolate
In Chrome, all Isolates must be created by gin R=tsepez@chromium.org, ulan@chromium.org BUG= Review URL: https://codereview.chromium.org/1234053003 .
Diffstat (limited to 'public/fpdf_formfill.h')
-rw-r--r--public/fpdf_formfill.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index a1b9ec2a77..1cc5551e0b 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -18,11 +18,13 @@ extern "C" {
typedef struct _IPDF_JsPlatform
{
-/**
-* Version number of the interface. Currently must be 1.
+ /**
+ * Version number of the interface. Currently must be 2.
**/
int version;
+ /* Version 1. */
+
/**
* Method: app_alert
* pop up a dialog to show warning or hint.
@@ -222,6 +224,13 @@ typedef struct _IPDF_JsPlatform
* pointer to FPDF_FORMFILLINFO interface.
**/
void* m_pFormfillinfo;
+
+ /* Version 2. */
+
+ /**
+ * pointer to the v8::Isolate to use, or NULL to force PDFium to create one.
+ **/
+ void* m_isolate;
} IPDF_JSPLATFORM;
// Flags for Cursor type