summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript/JS_GlobalData.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-07 15:26:59 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-07 15:26:59 -0700
commit0415b381008dd0bcf2ed5da6f1371f1df396bc07 (patch)
tree35ee8a601e09f0c88ac5c32d7f668347fe20170c /fpdfsdk/include/javascript/JS_GlobalData.h
parenta6d40307bcc979214dd97fdae3d58dcc5ffa315a (diff)
downloadpdfium-0415b381008dd0bcf2ed5da6f1371f1df396bc07.tar.xz
Fix (nearly all) IWYU in fpdfskd/include/javascript/ headers.
Move some typedefs for v8 types into fxjs_v8.h wrapper to avoid circular inclusions. Also delete JS_Module.h, as no other file includes it. BUG=https://code.google.com/p/pdfium/issues/detail?id=66 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1060133002
Diffstat (limited to 'fpdfsdk/include/javascript/JS_GlobalData.h')
-rw-r--r--fpdfsdk/include/javascript/JS_GlobalData.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fpdfsdk/include/javascript/JS_GlobalData.h b/fpdfsdk/include/javascript/JS_GlobalData.h
index 8eee158a00..17e5e69aed 100644
--- a/fpdfsdk/include/javascript/JS_GlobalData.h
+++ b/fpdfsdk/include/javascript/JS_GlobalData.h
@@ -7,6 +7,8 @@
#ifndef _JS_GLOBALDATA_H_
#define _JS_GLOBALDATA_H_
+#include "../../../core/include/fxcrt/fx_basic.h"
+
#define JS_GLOBALDATA_TYPE_NUMBER 0
#define JS_GLOBALDATA_TYPE_BOOLEAN 1
#define JS_GLOBALDATA_TYPE_STRING 2
@@ -14,8 +16,7 @@
#define JS_GLOBALDATA_TYPE_NULL 4
class CJS_KeyValue;
-class CJS_GlobalVariableArray;
-class CJS_GlobalData_Element;
+class CPDFDoc_Environment;
class CJS_GlobalVariableArray
{