summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript/JS_Runtime.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_Runtime.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_Runtime.h')
-rw-r--r--fpdfsdk/include/javascript/JS_Runtime.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h
index 0be8fb4b67..a1f62b8d0f 100644
--- a/fpdfsdk/include/javascript/JS_Runtime.h
+++ b/fpdfsdk/include/javascript/JS_Runtime.h
@@ -7,6 +7,13 @@
#ifndef _JS_RUNTIME_H_
#define _JS_RUNTIME_H_
+#include "../../../core/include/fxcrt/fx_basic.h"
+#include "../jsapi/fxjs_v8.h"
+#include "IJavaScript.h"
+#include "JS_EventHandler.h"
+
+class CJS_Context;
+
class CJS_FieldEvent
{
public: