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

Side by Side Diff: public/fpdf_formfill.h

Issue 1367033002: Pass v8::Isolate to PDFium at init time. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: kill include 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
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp ('k') | public/fpdfview.h » ('j') | 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 void* filePath, 286 void* filePath,
287 int length); 287 int length);
288 288
289 /** 289 /**
290 * pointer to FPDF_FORMFILLINFO interface. 290 * pointer to FPDF_FORMFILLINFO interface.
291 **/ 291 **/
292 void* m_pFormfillinfo; 292 void* m_pFormfillinfo;
293 293
294 /* Version 2. */ 294 /* Version 2. */
295 295
296 /** 296 void* m_isolate; /* Unused in v3, retain for compatibility. */
297 * pointer to the v8::Isolate to use, or NULL to force PDFium to create one. 297 unsigned int m_v8EmbedderSlot; /* Unused in v3, retain for compatibility. */
298 **/
299 void* m_isolate;
300 298
301 /** 299 /* Version 3. */
302 * The embedder data slot to use in the v8::Isolate to store PDFium's 300 /* Version 3 moves m_Isolate and m_v8EmbedderSlot to FPDF_LIBRARY_CONFIG. */
303 * per-isolate data. The value needs to be between 0 and 301
304 * v8::Internals::kNumIsolateDataLots (exclusive).
305 */
306 unsigned int m_v8EmbedderSlot;
307 } IPDF_JSPLATFORM; 302 } IPDF_JSPLATFORM;
308 303
309 // Flags for Cursor type 304 // Flags for Cursor type
310 #define FXCT_ARROW 0 305 #define FXCT_ARROW 0
311 #define FXCT_NESW 1 306 #define FXCT_NESW 1
312 #define FXCT_NWSE 2 307 #define FXCT_NWSE 2
313 #define FXCT_VBEAM 3 308 #define FXCT_VBEAM 3
314 #define FXCT_HBEAM 4 309 #define FXCT_HBEAM 4
315 #define FXCT_HAND 5 310 #define FXCT_HAND 5
316 311
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 int size_x, 1101 int size_x,
1107 int size_y, 1102 int size_y,
1108 int rotate, 1103 int rotate,
1109 int flags); 1104 int flags);
1110 1105
1111 #ifdef __cplusplus 1106 #ifdef __cplusplus
1112 } 1107 }
1113 #endif 1108 #endif
1114 1109
1115 #endif // PUBLIC_FPDF_FORMFILL_H_ 1110 #endif // PUBLIC_FPDF_FORMFILL_H_
OLDNEW
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp ('k') | public/fpdfview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698