summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn4
-rw-r--r--fpdfsdk/javascript/cjs_event.cpp (renamed from fpdfsdk/javascript/event.cpp)2
-rw-r--r--fpdfsdk/javascript/cjs_event.h (renamed from fpdfsdk/javascript/event.h)6
-rw-r--r--fpdfsdk/javascript/cjs_runtime.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 5666c24492..db940dfe16 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1212,6 +1212,8 @@ static_library("javascript") {
"fpdfsdk/javascript/cjs_document.h",
"fpdfsdk/javascript/cjs_embedobj.cpp",
"fpdfsdk/javascript/cjs_embedobj.h",
+ "fpdfsdk/javascript/cjs_event.cpp",
+ "fpdfsdk/javascript/cjs_event.h",
"fpdfsdk/javascript/cjs_event_context.cpp",
"fpdfsdk/javascript/cjs_event_context.h",
"fpdfsdk/javascript/cjs_eventhandler.cpp",
@@ -1252,8 +1254,6 @@ static_library("javascript") {
"fpdfsdk/javascript/cjs_timerobj.h",
"fpdfsdk/javascript/cjs_zoomtype.cpp",
"fpdfsdk/javascript/cjs_zoomtype.h",
- "fpdfsdk/javascript/event.cpp",
- "fpdfsdk/javascript/event.h",
"fpdfsdk/javascript/global_timer.cpp",
"fpdfsdk/javascript/global_timer.h",
"fpdfsdk/javascript/report.cpp",
diff --git a/fpdfsdk/javascript/event.cpp b/fpdfsdk/javascript/cjs_event.cpp
index 22aaa04315..28756a45b4 100644
--- a/fpdfsdk/javascript/event.cpp
+++ b/fpdfsdk/javascript/cjs_event.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "fpdfsdk/javascript/event.h"
+#include "fpdfsdk/javascript/cjs_event.h"
#include "fpdfsdk/javascript/JS_Define.h"
#include "fpdfsdk/javascript/cjs_event_context.h"
diff --git a/fpdfsdk/javascript/event.h b/fpdfsdk/javascript/cjs_event.h
index 8aa7c0e639..27e158926b 100644
--- a/fpdfsdk/javascript/event.h
+++ b/fpdfsdk/javascript/cjs_event.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef FPDFSDK_JAVASCRIPT_EVENT_H_
-#define FPDFSDK_JAVASCRIPT_EVENT_H_
+#ifndef FPDFSDK_JAVASCRIPT_CJS_EVENT_H_
+#define FPDFSDK_JAVASCRIPT_CJS_EVENT_H_
#include "fpdfsdk/javascript/JS_Define.h"
@@ -108,4 +108,4 @@ class CJS_Event : public CJS_Object {
static const JSPropertySpec PropertySpecs[];
};
-#endif // FPDFSDK_JAVASCRIPT_EVENT_H_
+#endif // FPDFSDK_JAVASCRIPT_CJS_EVENT_H_
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp
index 581d5c70a8..2c71b013dd 100644
--- a/fpdfsdk/javascript/cjs_runtime.cpp
+++ b/fpdfsdk/javascript/cjs_runtime.cpp
@@ -18,6 +18,7 @@
#include "fpdfsdk/javascript/cjs_console.h"
#include "fpdfsdk/javascript/cjs_display.h"
#include "fpdfsdk/javascript/cjs_document.h"
+#include "fpdfsdk/javascript/cjs_event.h"
#include "fpdfsdk/javascript/cjs_event_context.h"
#include "fpdfsdk/javascript/cjs_eventhandler.h"
#include "fpdfsdk/javascript/cjs_field.h"
@@ -36,7 +37,6 @@
#include "fpdfsdk/javascript/cjs_style.h"
#include "fpdfsdk/javascript/cjs_timerobj.h"
#include "fpdfsdk/javascript/cjs_zoomtype.h"
-#include "fpdfsdk/javascript/event.h"
#include "fpdfsdk/javascript/report.h"
#include "fpdfsdk/javascript/util.h"
#include "public/fpdf_formfill.h"