summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-30 18:12:32 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-10-30 18:12:32 +0000
commit4ab6b380624b3eaad7b17874e92e10e3feaa5cd9 (patch)
tree82d3e8c2eab5d8ed1a98eb059adc7798c7d1a89a /fpdfsdk
parentba9b9c3bd88817a47df1bbba16d58e7b504aef46 (diff)
downloadpdfium-4ab6b380624b3eaad7b17874e92e10e3feaa5cd9.tar.xz
Rename event to cjs_event
This CL renames the event.{cpp|h} files to cjs_event.{cpp|h} to match the internal class. Change-Id: I0e41a7ee068829f2bc8d94ff926edcf49b3a3c9f Reviewed-on: https://pdfium-review.googlesource.com/17043 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk')
-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
3 files changed, 5 insertions, 5 deletions
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"