summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-06-04 22:11:27 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-04 22:11:27 +0000
commit221f0b3e09b9d77b1873a52fff23c7c39df251bb (patch)
treea6c90f118083141c07eb0c5d802c6e8f8d5d4f31
parent82df54058ae56edef579d75421f216351bfd723e (diff)
downloadpdfium-221f0b3e09b9d77b1873a52fff23c7c39df251bb.tar.xz
Lowercase JS_Define.{h,cpp} and CJS_Define.h
Consistency with file naming conventions. No functional change. Change-Id: I596c4be5bbf0510950c44a7d9d80f59537739c3b Reviewed-on: https://pdfium-review.googlesource.com/33593 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
-rw-r--r--BUILD.gn6
-rw-r--r--fxjs/cjs_annot.cpp2
-rw-r--r--fxjs/cjs_annot.h2
-rw-r--r--fxjs/cjs_app.h2
-rw-r--r--fxjs/cjs_border.h2
-rw-r--r--fxjs/cjs_color.cpp2
-rw-r--r--fxjs/cjs_color.h2
-rw-r--r--fxjs/cjs_console.cpp2
-rw-r--r--fxjs/cjs_console.h2
-rw-r--r--fxjs/cjs_display.h2
-rw-r--r--fxjs/cjs_document.h2
-rw-r--r--fxjs/cjs_event.cpp2
-rw-r--r--fxjs/cjs_event.h2
-rw-r--r--fxjs/cjs_event_context.cpp2
-rw-r--r--fxjs/cjs_eventhandler.cpp2
-rw-r--r--fxjs/cjs_field.h2
-rw-r--r--fxjs/cjs_font.h2
-rw-r--r--fxjs/cjs_global.cpp2
-rw-r--r--fxjs/cjs_global.h2
-rw-r--r--fxjs/cjs_globalarrays.h2
-rw-r--r--fxjs/cjs_globalconsts.h2
-rw-r--r--fxjs/cjs_highlight.h2
-rw-r--r--fxjs/cjs_icon.h2
-rw-r--r--fxjs/cjs_position.h2
-rw-r--r--fxjs/cjs_printparamsobj.h2
-rw-r--r--fxjs/cjs_publicmethods.cpp2
-rw-r--r--fxjs/cjs_publicmethods.h2
-rw-r--r--fxjs/cjs_report.cpp2
-rw-r--r--fxjs/cjs_report.h2
-rw-r--r--fxjs/cjs_runtime.cpp2
-rw-r--r--fxjs/cjs_scalehow.h2
-rw-r--r--fxjs/cjs_scalewhen.h2
-rw-r--r--fxjs/cjs_style.h2
-rw-r--r--fxjs/cjs_timerobj.h2
-rw-r--r--fxjs/cjs_util.cpp2
-rw-r--r--fxjs/cjs_util.h2
-rw-r--r--fxjs/cjs_zoomtype.h2
-rw-r--r--fxjs/cjx_define.h (renamed from fxjs/CJX_Define.h)0
-rw-r--r--fxjs/js_define.cpp (renamed from fxjs/JS_Define.cpp)2
-rw-r--r--fxjs/js_define.h (renamed from fxjs/JS_Define.h)0
-rw-r--r--fxjs/xfa/cjx_container.h2
-rw-r--r--fxjs/xfa/cjx_content.h2
-rw-r--r--fxjs/xfa/cjx_datawindow.h2
-rw-r--r--fxjs/xfa/cjx_delta.h2
-rw-r--r--fxjs/xfa/cjx_desc.h2
-rw-r--r--fxjs/xfa/cjx_eventpseudomodel.h2
-rw-r--r--fxjs/xfa/cjx_exclgroup.h2
-rw-r--r--fxjs/xfa/cjx_field.h2
-rw-r--r--fxjs/xfa/cjx_form.h2
-rw-r--r--fxjs/xfa/cjx_hostpseudomodel.h2
-rw-r--r--fxjs/xfa/cjx_instancemanager.h2
-rw-r--r--fxjs/xfa/cjx_layoutpseudomodel.h2
-rw-r--r--fxjs/xfa/cjx_list.h2
-rw-r--r--fxjs/xfa/cjx_logpseudomodel.h2
-rw-r--r--fxjs/xfa/cjx_manifest.h2
-rw-r--r--fxjs/xfa/cjx_model.h2
-rw-r--r--fxjs/xfa/cjx_node.h2
-rw-r--r--fxjs/xfa/cjx_object.h2
-rw-r--r--fxjs/xfa/cjx_packet.h2
-rw-r--r--fxjs/xfa/cjx_signaturepseudomodel.h2
-rw-r--r--fxjs/xfa/cjx_source.h2
-rw-r--r--fxjs/xfa/cjx_subform.h2
-rw-r--r--fxjs/xfa/cjx_template.h2
-rw-r--r--fxjs/xfa/cjx_textnode.h2
-rw-r--r--fxjs/xfa/cjx_tree.h2
-rw-r--r--fxjs/xfa/cjx_treelist.h2
-rw-r--r--fxjs/xfa/cjx_wsdlconnection.h2
67 files changed, 67 insertions, 67 deletions
diff --git a/BUILD.gn b/BUILD.gn
index e546543080..d9db5a7877 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1205,9 +1205,6 @@ jumbo_static_library("fxjs") {
if (pdf_enable_v8) {
sources += [
- "fxjs/CJX_Define.h",
- "fxjs/JS_Define.cpp",
- "fxjs/JS_Define.h",
"fxjs/cfx_v8.cpp",
"fxjs/cfx_v8.h",
"fxjs/cfxjs_engine.cpp",
@@ -1280,8 +1277,11 @@ jumbo_static_library("fxjs") {
"fxjs/cjs_util.h",
"fxjs/cjs_zoomtype.cpp",
"fxjs/cjs_zoomtype.h",
+ "fxjs/cjx_define.h",
"fxjs/global_timer.cpp",
"fxjs/global_timer.h",
+ "fxjs/js_define.cpp",
+ "fxjs/js_define.h",
"fxjs/js_resources.cpp",
"fxjs/js_resources.h",
]
diff --git a/fxjs/cjs_annot.cpp b/fxjs/cjs_annot.cpp
index 4cb126dcff..b226621dd6 100644
--- a/fxjs/cjs_annot.cpp
+++ b/fxjs/cjs_annot.cpp
@@ -6,9 +6,9 @@
#include "fxjs/cjs_annot.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_object.h"
+#include "fxjs/js_define.h"
#include "fxjs/js_resources.h"
namespace {
diff --git a/fxjs/cjs_annot.h b/fxjs/cjs_annot.h
index cdb884f1b8..d313d5656f 100644
--- a/fxjs/cjs_annot.h
+++ b/fxjs/cjs_annot.h
@@ -8,7 +8,7 @@
#define FXJS_CJS_ANNOT_H_
#include "fpdfsdk/cpdfsdk_baannot.h"
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Annot : public CJS_Object {
public:
diff --git a/fxjs/cjs_app.h b/fxjs/cjs_app.h
index 3c3a129641..f1701ae883 100644
--- a/fxjs/cjs_app.h
+++ b/fxjs/cjs_app.h
@@ -11,7 +11,7 @@
#include <set>
#include <vector>
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Runtime;
class GlobalTimer;
diff --git a/fxjs/cjs_border.h b/fxjs/cjs_border.h
index 49e93250bd..0d10a1f735 100644
--- a/fxjs/cjs_border.h
+++ b/fxjs/cjs_border.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_BORDER_H_
#define FXJS_CJS_BORDER_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Border : public CJS_Object {
public:
diff --git a/fxjs/cjs_color.cpp b/fxjs/cjs_color.cpp
index 66cb9721b5..e46ddce69d 100644
--- a/fxjs/cjs_color.cpp
+++ b/fxjs/cjs_color.cpp
@@ -8,11 +8,11 @@
#include <vector>
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_eventhandler.h"
#include "fxjs/cjs_object.h"
#include "fxjs/cjs_runtime.h"
+#include "fxjs/js_define.h"
const JSPropertySpec CJS_Color::PropertySpecs[] = {
{"black", get_black_static, set_black_static},
diff --git a/fxjs/cjs_color.h b/fxjs/cjs_color.h
index 00b9546daa..581fea0427 100644
--- a/fxjs/cjs_color.h
+++ b/fxjs/cjs_color.h
@@ -10,7 +10,7 @@
#include <vector>
#include "fpdfsdk/pwl/cpwl_wnd.h"
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Color : public CJS_Object {
public:
diff --git a/fxjs/cjs_console.cpp b/fxjs/cjs_console.cpp
index 8ed3472a6c..867913ca6f 100644
--- a/fxjs/cjs_console.cpp
+++ b/fxjs/cjs_console.cpp
@@ -8,10 +8,10 @@
#include <vector>
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_eventhandler.h"
#include "fxjs/cjs_object.h"
+#include "fxjs/js_define.h"
const JSMethodSpec CJS_Console::MethodSpecs[] = {{"clear", clear_static},
{"hide", hide_static},
diff --git a/fxjs/cjs_console.h b/fxjs/cjs_console.h
index c25bc4bf7c..7ed39bbed9 100644
--- a/fxjs/cjs_console.h
+++ b/fxjs/cjs_console.h
@@ -9,7 +9,7 @@
#include <vector>
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Console : public CJS_Object {
public:
diff --git a/fxjs/cjs_display.h b/fxjs/cjs_display.h
index e5806b03c2..2336952732 100644
--- a/fxjs/cjs_display.h
+++ b/fxjs/cjs_display.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_DISPLAY_H_
#define FXJS_CJS_DISPLAY_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Display : public CJS_Object {
public:
diff --git a/fxjs/cjs_document.h b/fxjs/cjs_document.h
index 5172df0e26..6727f4e5aa 100644
--- a/fxjs/cjs_document.h
+++ b/fxjs/cjs_document.h
@@ -11,7 +11,7 @@
#include <memory>
#include <vector>
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Document;
class CPDF_TextObject;
diff --git a/fxjs/cjs_event.cpp b/fxjs/cjs_event.cpp
index d2537b9fff..ca0671d3a9 100644
--- a/fxjs/cjs_event.cpp
+++ b/fxjs/cjs_event.cpp
@@ -6,11 +6,11 @@
#include "fxjs/cjs_event.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_eventhandler.h"
#include "fxjs/cjs_field.h"
#include "fxjs/cjs_object.h"
+#include "fxjs/js_define.h"
const JSPropertySpec CJS_Event::PropertySpecs[] = {
{"change", get_change_static, set_change_static},
diff --git a/fxjs/cjs_event.h b/fxjs/cjs_event.h
index 434f25989c..39d9cdba87 100644
--- a/fxjs/cjs_event.h
+++ b/fxjs/cjs_event.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_EVENT_H_
#define FXJS_CJS_EVENT_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Event : public CJS_Object {
public:
diff --git a/fxjs/cjs_event_context.cpp b/fxjs/cjs_event_context.cpp
index 0d9ba34db1..50149c4172 100644
--- a/fxjs/cjs_event_context.cpp
+++ b/fxjs/cjs_event_context.cpp
@@ -7,9 +7,9 @@
#include "fxjs/cjs_event_context.h"
#include "core/fxcrt/autorestorer.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_eventhandler.h"
#include "fxjs/cjs_runtime.h"
+#include "fxjs/js_define.h"
#include "fxjs/js_resources.h"
CJS_EventContext::CJS_EventContext(CJS_Runtime* pRuntime)
diff --git a/fxjs/cjs_eventhandler.cpp b/fxjs/cjs_eventhandler.cpp
index 5b20ce769b..2f42d4157f 100644
--- a/fxjs/cjs_eventhandler.cpp
+++ b/fxjs/cjs_eventhandler.cpp
@@ -7,12 +7,12 @@
#include "fxjs/cjs_eventhandler.h"
#include "core/fpdfdoc/cpdf_formfield.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_document.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_field.h"
#include "fxjs/cjs_object.h"
#include "fxjs/cjs_runtime.h"
+#include "fxjs/js_define.h"
CJS_EventHandler::CJS_EventHandler(CJS_EventContext* pContext)
: m_pJSEventContext(pContext) {}
diff --git a/fxjs/cjs_field.h b/fxjs/cjs_field.h
index ba476139cf..0f089d0f13 100644
--- a/fxjs/cjs_field.h
+++ b/fxjs/cjs_field.h
@@ -10,7 +10,7 @@
#include <string>
#include <vector>
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CPDF_FormControl;
class CPDFSDK_Widget;
diff --git a/fxjs/cjs_font.h b/fxjs/cjs_font.h
index 8e52778df5..be677d4045 100644
--- a/fxjs/cjs_font.h
+++ b/fxjs/cjs_font.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_FONT_H_
#define FXJS_CJS_FONT_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Font : public CJS_Object {
public:
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp
index 2a91bdd7d7..9a1f541212 100644
--- a/fxjs/cjs_global.cpp
+++ b/fxjs/cjs_global.cpp
@@ -12,12 +12,12 @@
#include <vector>
#include "core/fxcrt/fx_extension.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_eventhandler.h"
#include "fxjs/cjs_globaldata.h"
#include "fxjs/cjs_keyvalue.h"
#include "fxjs/cjs_object.h"
+#include "fxjs/js_define.h"
#include "fxjs/js_resources.h"
namespace {
diff --git a/fxjs/cjs_global.h b/fxjs/cjs_global.h
index 8a2fdab25c..e0d41b801d 100644
--- a/fxjs/cjs_global.h
+++ b/fxjs/cjs_global.h
@@ -11,8 +11,8 @@
#include <memory>
#include <vector>
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_keyvalue.h"
+#include "fxjs/js_define.h"
class CJS_GlobalData;
diff --git a/fxjs/cjs_globalarrays.h b/fxjs/cjs_globalarrays.h
index 297b97b614..8e972732db 100644
--- a/fxjs/cjs_globalarrays.h
+++ b/fxjs/cjs_globalarrays.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_GLOBALARRAYS_H_
#define FXJS_CJS_GLOBALARRAYS_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_GlobalArrays : public CJS_Object {
public:
diff --git a/fxjs/cjs_globalconsts.h b/fxjs/cjs_globalconsts.h
index 8c6618ee6f..1bef384768 100644
--- a/fxjs/cjs_globalconsts.h
+++ b/fxjs/cjs_globalconsts.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_GLOBALCONSTS_H_
#define FXJS_CJS_GLOBALCONSTS_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_GlobalConsts : public CJS_Object {
public:
diff --git a/fxjs/cjs_highlight.h b/fxjs/cjs_highlight.h
index 2815c88c32..a5fc21df58 100644
--- a/fxjs/cjs_highlight.h
+++ b/fxjs/cjs_highlight.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_HIGHLIGHT_H_
#define FXJS_CJS_HIGHLIGHT_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Highlight : public CJS_Object {
public:
diff --git a/fxjs/cjs_icon.h b/fxjs/cjs_icon.h
index 2f3ee3f86f..05fa43015f 100644
--- a/fxjs/cjs_icon.h
+++ b/fxjs/cjs_icon.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_ICON_H_
#define FXJS_CJS_ICON_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Icon : public CJS_Object {
public:
diff --git a/fxjs/cjs_position.h b/fxjs/cjs_position.h
index 0f54c2ba63..3e62bc92bf 100644
--- a/fxjs/cjs_position.h
+++ b/fxjs/cjs_position.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_POSITION_H_
#define FXJS_CJS_POSITION_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Position : public CJS_Object {
public:
diff --git a/fxjs/cjs_printparamsobj.h b/fxjs/cjs_printparamsobj.h
index 90bc9b8999..572d7d8bcd 100644
--- a/fxjs/cjs_printparamsobj.h
+++ b/fxjs/cjs_printparamsobj.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_PRINTPARAMSOBJ_H_
#define FXJS_CJS_PRINTPARAMSOBJ_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_PrintParamsObj : public CJS_Object {
public:
diff --git a/fxjs/cjs_publicmethods.cpp b/fxjs/cjs_publicmethods.cpp
index b8d62b173a..d37706c973 100644
--- a/fxjs/cjs_publicmethods.cpp
+++ b/fxjs/cjs_publicmethods.cpp
@@ -20,7 +20,6 @@
#include "core/fxcrt/fx_extension.h"
#include "fpdfsdk/cpdfsdk_formfillenvironment.h"
#include "fpdfsdk/cpdfsdk_interform.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_color.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_eventhandler.h"
@@ -28,6 +27,7 @@
#include "fxjs/cjs_object.h"
#include "fxjs/cjs_runtime.h"
#include "fxjs/cjs_util.h"
+#include "fxjs/js_define.h"
#include "fxjs/js_resources.h"
// static
diff --git a/fxjs/cjs_publicmethods.h b/fxjs/cjs_publicmethods.h
index df23eb1830..89603ca79d 100644
--- a/fxjs/cjs_publicmethods.h
+++ b/fxjs/cjs_publicmethods.h
@@ -10,7 +10,7 @@
#include <string>
#include <vector>
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_PublicMethods : public CJS_Object {
public:
diff --git a/fxjs/cjs_report.cpp b/fxjs/cjs_report.cpp
index 89737e6542..3a912765f6 100644
--- a/fxjs/cjs_report.cpp
+++ b/fxjs/cjs_report.cpp
@@ -8,8 +8,8 @@
#include <vector>
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_object.h"
+#include "fxjs/js_define.h"
const JSMethodSpec CJS_Report::MethodSpecs[] = {
{"save", save_static},
diff --git a/fxjs/cjs_report.h b/fxjs/cjs_report.h
index 8de0991411..36a00ce9f5 100644
--- a/fxjs/cjs_report.h
+++ b/fxjs/cjs_report.h
@@ -9,7 +9,7 @@
#include <vector>
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Report : public CJS_Object {
public:
diff --git a/fxjs/cjs_runtime.cpp b/fxjs/cjs_runtime.cpp
index b47c595350..22dc904c1f 100644
--- a/fxjs/cjs_runtime.cpp
+++ b/fxjs/cjs_runtime.cpp
@@ -9,7 +9,6 @@
#include <algorithm>
#include "fpdfsdk/cpdfsdk_formfillenvironment.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_annot.h"
#include "fxjs/cjs_app.h"
#include "fxjs/cjs_border.h"
@@ -39,6 +38,7 @@
#include "fxjs/cjs_timerobj.h"
#include "fxjs/cjs_util.h"
#include "fxjs/cjs_zoomtype.h"
+#include "fxjs/js_define.h"
#include "public/fpdf_formfill.h"
#include "third_party/base/stl_util.h"
diff --git a/fxjs/cjs_scalehow.h b/fxjs/cjs_scalehow.h
index bbff20a2c6..a0d16b34b5 100644
--- a/fxjs/cjs_scalehow.h
+++ b/fxjs/cjs_scalehow.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_SCALEHOW_H_
#define FXJS_CJS_SCALEHOW_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_ScaleHow : public CJS_Object {
public:
diff --git a/fxjs/cjs_scalewhen.h b/fxjs/cjs_scalewhen.h
index d068a38a14..f30a3bdff2 100644
--- a/fxjs/cjs_scalewhen.h
+++ b/fxjs/cjs_scalewhen.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_SCALEWHEN_H_
#define FXJS_CJS_SCALEWHEN_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_ScaleWhen : public CJS_Object {
public:
diff --git a/fxjs/cjs_style.h b/fxjs/cjs_style.h
index ba7eefa5ff..dade59f6f1 100644
--- a/fxjs/cjs_style.h
+++ b/fxjs/cjs_style.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_STYLE_H_
#define FXJS_CJS_STYLE_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Style : public CJS_Object {
public:
diff --git a/fxjs/cjs_timerobj.h b/fxjs/cjs_timerobj.h
index 810b1b3711..d9dc88139d 100644
--- a/fxjs/cjs_timerobj.h
+++ b/fxjs/cjs_timerobj.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_TIMEROBJ_H_
#define FXJS_CJS_TIMEROBJ_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class GlobalTimer;
diff --git a/fxjs/cjs_util.cpp b/fxjs/cjs_util.cpp
index ee96395a16..8da9a07a45 100644
--- a/fxjs/cjs_util.cpp
+++ b/fxjs/cjs_util.cpp
@@ -15,12 +15,12 @@
#include <vector>
#include "core/fxcrt/fx_extension.h"
-#include "fxjs/JS_Define.h"
#include "fxjs/cjs_event_context.h"
#include "fxjs/cjs_eventhandler.h"
#include "fxjs/cjs_object.h"
#include "fxjs/cjs_publicmethods.h"
#include "fxjs/cjs_runtime.h"
+#include "fxjs/js_define.h"
#include "fxjs/js_resources.h"
#if _FX_OS_ == _FX_OS_ANDROID_
diff --git a/fxjs/cjs_util.h b/fxjs/cjs_util.h
index 03e1b08d8a..a601d82225 100644
--- a/fxjs/cjs_util.h
+++ b/fxjs/cjs_util.h
@@ -10,7 +10,7 @@
#include <string>
#include <vector>
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
// Return values for ParseDataType() below.
#define UTIL_INT 0
diff --git a/fxjs/cjs_zoomtype.h b/fxjs/cjs_zoomtype.h
index a5f6fda15b..5dda997bdf 100644
--- a/fxjs/cjs_zoomtype.h
+++ b/fxjs/cjs_zoomtype.h
@@ -7,7 +7,7 @@
#ifndef FXJS_CJS_ZOOMTYPE_H_
#define FXJS_CJS_ZOOMTYPE_H_
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
class CJS_Zoomtype : public CJS_Object {
public:
diff --git a/fxjs/CJX_Define.h b/fxjs/cjx_define.h
index bff624fe00..bff624fe00 100644
--- a/fxjs/CJX_Define.h
+++ b/fxjs/cjx_define.h
diff --git a/fxjs/JS_Define.cpp b/fxjs/js_define.cpp
index d5b1cefeda..3e14a3dd1d 100644
--- a/fxjs/JS_Define.cpp
+++ b/fxjs/js_define.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "fxjs/JS_Define.h"
+#include "fxjs/js_define.h"
#include <time.h>
diff --git a/fxjs/JS_Define.h b/fxjs/js_define.h
index 325642d8ce..325642d8ce 100644
--- a/fxjs/JS_Define.h
+++ b/fxjs/js_define.h
diff --git a/fxjs/xfa/cjx_container.h b/fxjs/xfa/cjx_container.h
index 0e2170fa2a..e116358f07 100644
--- a/fxjs/xfa/cjx_container.h
+++ b/fxjs/xfa/cjx_container.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_CONTAINER_H_
#define FXJS_XFA_CJX_CONTAINER_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_Node;
diff --git a/fxjs/xfa/cjx_content.h b/fxjs/xfa/cjx_content.h
index 983a75005d..351728e023 100644
--- a/fxjs/xfa/cjx_content.h
+++ b/fxjs/xfa/cjx_content.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_CONTENT_H_
#define FXJS_XFA_CJX_CONTENT_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
class CXFA_Content;
diff --git a/fxjs/xfa/cjx_datawindow.h b/fxjs/xfa/cjx_datawindow.h
index dfaa6a44ba..0541ef1e7f 100644
--- a/fxjs/xfa/cjx_datawindow.h
+++ b/fxjs/xfa/cjx_datawindow.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_DATAWINDOW_H_
#define FXJS_XFA_CJX_DATAWINDOW_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
#include "xfa/fxfa/fxfa_basic.h"
diff --git a/fxjs/xfa/cjx_delta.h b/fxjs/xfa/cjx_delta.h
index 2b981cd56b..4d6776359c 100644
--- a/fxjs/xfa/cjx_delta.h
+++ b/fxjs/xfa/cjx_delta.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_DELTA_H_
#define FXJS_XFA_CJX_DELTA_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
class CXFA_Delta;
diff --git a/fxjs/xfa/cjx_desc.h b/fxjs/xfa/cjx_desc.h
index 4d21c7ba32..4218ed2d7b 100644
--- a/fxjs/xfa/cjx_desc.h
+++ b/fxjs/xfa/cjx_desc.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_DESC_H_
#define FXJS_XFA_CJX_DESC_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_Desc;
diff --git a/fxjs/xfa/cjx_eventpseudomodel.h b/fxjs/xfa/cjx_eventpseudomodel.h
index 5d8bcc3060..b30c659705 100644
--- a/fxjs/xfa/cjx_eventpseudomodel.h
+++ b/fxjs/xfa/cjx_eventpseudomodel.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_EVENTPSEUDOMODEL_H_
#define FXJS_XFA_CJX_EVENTPSEUDOMODEL_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
class CFXJSE_Value;
diff --git a/fxjs/xfa/cjx_exclgroup.h b/fxjs/xfa/cjx_exclgroup.h
index a972fba5ff..fc65400214 100644
--- a/fxjs/xfa/cjx_exclgroup.h
+++ b/fxjs/xfa/cjx_exclgroup.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_EXCLGROUP_H_
#define FXJS_XFA_CJX_EXCLGROUP_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_ExclGroup;
diff --git a/fxjs/xfa/cjx_field.h b/fxjs/xfa/cjx_field.h
index 4f7238fc19..697aca32d2 100644
--- a/fxjs/xfa/cjx_field.h
+++ b/fxjs/xfa/cjx_field.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_FIELD_H_
#define FXJS_XFA_CJX_FIELD_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_container.h"
class CXFA_Field;
diff --git a/fxjs/xfa/cjx_form.h b/fxjs/xfa/cjx_form.h
index e4d64daca0..235dc1405c 100644
--- a/fxjs/xfa/cjx_form.h
+++ b/fxjs/xfa/cjx_form.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_FORM_H_
#define FXJS_XFA_CJX_FORM_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_model.h"
class CXFA_Form;
diff --git a/fxjs/xfa/cjx_hostpseudomodel.h b/fxjs/xfa/cjx_hostpseudomodel.h
index b4d6fe66e2..7b9279af2d 100644
--- a/fxjs/xfa/cjx_hostpseudomodel.h
+++ b/fxjs/xfa/cjx_hostpseudomodel.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_HOSTPSEUDOMODEL_H_
#define FXJS_XFA_CJX_HOSTPSEUDOMODEL_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
#include "xfa/fxfa/fxfa_basic.h"
diff --git a/fxjs/xfa/cjx_instancemanager.h b/fxjs/xfa/cjx_instancemanager.h
index 74efad5ba9..c869ec3559 100644
--- a/fxjs/xfa/cjx_instancemanager.h
+++ b/fxjs/xfa/cjx_instancemanager.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_INSTANCEMANAGER_H_
#define FXJS_XFA_CJX_INSTANCEMANAGER_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_InstanceManager;
diff --git a/fxjs/xfa/cjx_layoutpseudomodel.h b/fxjs/xfa/cjx_layoutpseudomodel.h
index ecacdd1e83..b57c80cd62 100644
--- a/fxjs/xfa/cjx_layoutpseudomodel.h
+++ b/fxjs/xfa/cjx_layoutpseudomodel.h
@@ -9,7 +9,7 @@
#include <vector>
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
enum XFA_LAYOUTMODEL_HWXY {
diff --git a/fxjs/xfa/cjx_list.h b/fxjs/xfa/cjx_list.h
index 83801b7e08..90ecf697c3 100644
--- a/fxjs/xfa/cjx_list.h
+++ b/fxjs/xfa/cjx_list.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_LIST_H_
#define FXJS_XFA_CJX_LIST_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
class CXFA_List;
diff --git a/fxjs/xfa/cjx_logpseudomodel.h b/fxjs/xfa/cjx_logpseudomodel.h
index 772bf30540..a6ef871e89 100644
--- a/fxjs/xfa/cjx_logpseudomodel.h
+++ b/fxjs/xfa/cjx_logpseudomodel.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_LOGPSEUDOMODEL_H_
#define FXJS_XFA_CJX_LOGPSEUDOMODEL_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
class CScript_LogPseudoModel;
diff --git a/fxjs/xfa/cjx_manifest.h b/fxjs/xfa/cjx_manifest.h
index 75fcacdfb1..78aa5bcfd3 100644
--- a/fxjs/xfa/cjx_manifest.h
+++ b/fxjs/xfa/cjx_manifest.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_MANIFEST_H_
#define FXJS_XFA_CJX_MANIFEST_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_Manifest;
diff --git a/fxjs/xfa/cjx_model.h b/fxjs/xfa/cjx_model.h
index fae1cc7cfd..607123571e 100644
--- a/fxjs/xfa/cjx_model.h
+++ b/fxjs/xfa/cjx_model.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_MODEL_H_
#define FXJS_XFA_CJX_MODEL_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_Node;
diff --git a/fxjs/xfa/cjx_node.h b/fxjs/xfa/cjx_node.h
index f7cbce855b..224f44cc42 100644
--- a/fxjs/xfa/cjx_node.h
+++ b/fxjs/xfa/cjx_node.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_NODE_H_
#define FXJS_XFA_CJX_NODE_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
#include "fxjs/xfa/cjx_tree.h"
#include "xfa/fxfa/fxfa_basic.h"
diff --git a/fxjs/xfa/cjx_object.h b/fxjs/xfa/cjx_object.h
index 1fcd753b14..ac17a04522 100644
--- a/fxjs/xfa/cjx_object.h
+++ b/fxjs/xfa/cjx_object.h
@@ -15,7 +15,7 @@
#include "core/fxcrt/unowned_ptr.h"
#include "core/fxcrt/widestring.h"
#include "core/fxcrt/xml/cfx_xmlelement.h"
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "third_party/base/optional.h"
#include "xfa/fxfa/fxfa_basic.h"
diff --git a/fxjs/xfa/cjx_packet.h b/fxjs/xfa/cjx_packet.h
index ac1c170fdd..573ea3af75 100644
--- a/fxjs/xfa/cjx_packet.h
+++ b/fxjs/xfa/cjx_packet.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_PACKET_H_
#define FXJS_XFA_CJX_PACKET_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_Packet;
diff --git a/fxjs/xfa/cjx_signaturepseudomodel.h b/fxjs/xfa/cjx_signaturepseudomodel.h
index 88f90fb33a..0aecfa57a0 100644
--- a/fxjs/xfa/cjx_signaturepseudomodel.h
+++ b/fxjs/xfa/cjx_signaturepseudomodel.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_SIGNATUREPSEUDOMODEL_H_
#define FXJS_XFA_CJX_SIGNATUREPSEUDOMODEL_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
class CScript_SignaturePseudoModel;
diff --git a/fxjs/xfa/cjx_source.h b/fxjs/xfa/cjx_source.h
index de84912910..dcbdfde26d 100644
--- a/fxjs/xfa/cjx_source.h
+++ b/fxjs/xfa/cjx_source.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_SOURCE_H_
#define FXJS_XFA_CJX_SOURCE_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_Source;
diff --git a/fxjs/xfa/cjx_subform.h b/fxjs/xfa/cjx_subform.h
index a1c535b643..e982fa59b3 100644
--- a/fxjs/xfa/cjx_subform.h
+++ b/fxjs/xfa/cjx_subform.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_SUBFORM_H_
#define FXJS_XFA_CJX_SUBFORM_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_container.h"
class CXFA_Delta;
diff --git a/fxjs/xfa/cjx_template.h b/fxjs/xfa/cjx_template.h
index 2c82788153..e67b1b7495 100644
--- a/fxjs/xfa/cjx_template.h
+++ b/fxjs/xfa/cjx_template.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_TEMPLATE_H_
#define FXJS_XFA_CJX_TEMPLATE_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_model.h"
class CXFA_Template;
diff --git a/fxjs/xfa/cjx_textnode.h b/fxjs/xfa/cjx_textnode.h
index 12d44d7814..f3dbe19251 100644
--- a/fxjs/xfa/cjx_textnode.h
+++ b/fxjs/xfa/cjx_textnode.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_TEXTNODE_H_
#define FXJS_XFA_CJX_TEXTNODE_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_Node;
diff --git a/fxjs/xfa/cjx_tree.h b/fxjs/xfa/cjx_tree.h
index 9389d2ec4f..22b3acad48 100644
--- a/fxjs/xfa/cjx_tree.h
+++ b/fxjs/xfa/cjx_tree.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_TREE_H_
#define FXJS_XFA_CJX_TREE_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_object.h"
class CXFA_Object;
diff --git a/fxjs/xfa/cjx_treelist.h b/fxjs/xfa/cjx_treelist.h
index 29a95e6d74..b3f1dafc48 100644
--- a/fxjs/xfa/cjx_treelist.h
+++ b/fxjs/xfa/cjx_treelist.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_TREELIST_H_
#define FXJS_XFA_CJX_TREELIST_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_list.h"
class CXFA_TreeList;
diff --git a/fxjs/xfa/cjx_wsdlconnection.h b/fxjs/xfa/cjx_wsdlconnection.h
index d755b5d075..eb729c21ea 100644
--- a/fxjs/xfa/cjx_wsdlconnection.h
+++ b/fxjs/xfa/cjx_wsdlconnection.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_WSDLCONNECTION_H_
#define FXJS_XFA_CJX_WSDLCONNECTION_H_
-#include "fxjs/CJX_Define.h"
+#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_node.h"
class CXFA_WsdlConnection;