summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-20 06:16:06 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-20 06:16:06 -0700
commitc1515ef195a2310f1d07838902eb10d66f66dbed (patch)
tree37c34deb2488432054b9ba773af599376abc2411 /xfa/fxfa
parent8ca60b2cda3efc112c987c1d57d1eb8568667da9 (diff)
downloadpdfium-c1515ef195a2310f1d07838902eb10d66f66dbed.tar.xz
Rename the CScript_* files to match class names.
This Cl updates the various files to have filenames which match the classes inside those files. Review-Url: https://codereview.chromium.org/2161193002
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/parser/cscript_datawindow.cpp (renamed from xfa/fxfa/parser/xfa_script_datawindow.cpp)2
-rw-r--r--xfa/fxfa/parser/cscript_datawindow.h (renamed from xfa/fxfa/parser/xfa_script_datawindow.h)6
-rw-r--r--xfa/fxfa/parser/cscript_eventpseudomodel.cpp (renamed from xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp)2
-rw-r--r--xfa/fxfa/parser/cscript_eventpseudomodel.h (renamed from xfa/fxfa/parser/xfa_script_eventpseudomodel.h)6
-rw-r--r--xfa/fxfa/parser/cscript_hostpseudomodel.cpp (renamed from xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp)2
-rw-r--r--xfa/fxfa/parser/cscript_hostpseudomodel.h (renamed from xfa/fxfa/parser/xfa_script_hostpseudomodel.h)6
-rw-r--r--xfa/fxfa/parser/cscript_layoutpseudomodel.cpp (renamed from xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp)2
-rw-r--r--xfa/fxfa/parser/cscript_layoutpseudomodel.h (renamed from xfa/fxfa/parser/xfa_script_layoutpseudomodel.h)6
-rw-r--r--xfa/fxfa/parser/cscript_logpseudomodel.cpp (renamed from xfa/fxfa/parser/xfa_script_logpseudomodel.cpp)2
-rw-r--r--xfa/fxfa/parser/cscript_logpseudomodel.h (renamed from xfa/fxfa/parser/xfa_script_logpseudomodel.h)6
-rw-r--r--xfa/fxfa/parser/cscript_signaturepseudomodel.cpp (renamed from xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp)2
-rw-r--r--xfa/fxfa/parser/cscript_signaturepseudomodel.h (renamed from xfa/fxfa/parser/xfa_script_signaturepseudomodel.h)6
-rw-r--r--xfa/fxfa/parser/xfa_basic_data_element_script.cpp12
-rw-r--r--xfa/fxfa/parser/xfa_document_imp.cpp12
14 files changed, 36 insertions, 36 deletions
diff --git a/xfa/fxfa/parser/xfa_script_datawindow.cpp b/xfa/fxfa/parser/cscript_datawindow.cpp
index aa399b79de..a5b0587d4d 100644
--- a/xfa/fxfa/parser/xfa_script_datawindow.cpp
+++ b/xfa/fxfa/parser/cscript_datawindow.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/parser/xfa_script_datawindow.h"
+#include "xfa/fxfa/parser/cscript_datawindow.h"
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_doclayout.h"
diff --git a/xfa/fxfa/parser/xfa_script_datawindow.h b/xfa/fxfa/parser/cscript_datawindow.h
index ea8e6ad242..e1ee13ad44 100644
--- a/xfa/fxfa/parser/xfa_script_datawindow.h
+++ b/xfa/fxfa/parser/cscript_datawindow.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_
-#define XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_
+#ifndef XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_
+#define XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_object.h"
@@ -33,4 +33,4 @@ class CScript_DataWindow : public CXFA_Object {
XFA_ATTRIBUTE eAttribute);
};
-#endif // XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_
+#endif // XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_
diff --git a/xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp b/xfa/fxfa/parser/cscript_eventpseudomodel.cpp
index de4b7ae8da..d1d1aeaaa9 100644
--- a/xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp
+++ b/xfa/fxfa/parser/cscript_eventpseudomodel.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/parser/xfa_script_eventpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_eventpseudomodel.h"
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/app/xfa_ffnotify.h"
diff --git a/xfa/fxfa/parser/xfa_script_eventpseudomodel.h b/xfa/fxfa/parser/cscript_eventpseudomodel.h
index c52d3ce5fa..41307d4d39 100644
--- a/xfa/fxfa/parser/xfa_script_eventpseudomodel.h
+++ b/xfa/fxfa/parser/cscript_eventpseudomodel.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_
-#define XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_
+#ifndef XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_
+#define XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_object.h"
@@ -83,4 +83,4 @@ class CScript_EventPseudoModel : public CXFA_Object {
void Property(CFXJSE_Value* pValue, XFA_Event dwFlag, FX_BOOL bSetting);
};
-#endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_
+#endif // XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_
diff --git a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp b/xfa/fxfa/parser/cscript_hostpseudomodel.cpp
index 9153761abf..365d268b0e 100644
--- a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
+++ b/xfa/fxfa/parser/cscript_hostpseudomodel.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/parser/xfa_script_hostpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_hostpseudomodel.h"
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/app/xfa_ffnotify.h"
diff --git a/xfa/fxfa/parser/xfa_script_hostpseudomodel.h b/xfa/fxfa/parser/cscript_hostpseudomodel.h
index d5c1b197b8..f07ba956c5 100644
--- a/xfa/fxfa/parser/xfa_script_hostpseudomodel.h
+++ b/xfa/fxfa/parser/cscript_hostpseudomodel.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_
-#define XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_
+#ifndef XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_
+#define XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_document.h"
@@ -71,4 +71,4 @@ class CScript_HostPseudoModel : public CXFA_Object {
CFX_WideString& wsValue);
};
-#endif // XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_
+#endif // XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_
diff --git a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp b/xfa/fxfa/parser/cscript_layoutpseudomodel.cpp
index 4a64af9869..d50f1b77d6 100644
--- a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
+++ b/xfa/fxfa/parser/cscript_layoutpseudomodel.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/parser/xfa_script_layoutpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_layoutpseudomodel.h"
#include <set>
diff --git a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.h b/xfa/fxfa/parser/cscript_layoutpseudomodel.h
index 1e61c42064..f812c3d330 100644
--- a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.h
+++ b/xfa/fxfa/parser/cscript_layoutpseudomodel.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_
-#define XFA_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_
+#ifndef XFA_FXFA_PARSER_CSCRIPT_LAYOUTPSEUDOMODEL_H_
+#define XFA_FXFA_PARSER_CSCRIPT_LAYOUTPSEUDOMODEL_H_
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_doclayout.h"
@@ -56,4 +56,4 @@ class CScript_LayoutPseudoModel : public CXFA_Object {
void PageImp(CFXJSE_Arguments* pArguments, FX_BOOL bAbsPage);
};
-#endif // XFA_FXFA_PARSER_XFA_SCRIPT_LAYOUTPSEUDOMODEL_H_
+#endif // XFA_FXFA_PARSER_CSCRIPT_LAYOUTPSEUDOMODEL_H_
diff --git a/xfa/fxfa/parser/xfa_script_logpseudomodel.cpp b/xfa/fxfa/parser/cscript_logpseudomodel.cpp
index 4abed33a77..ae3629d5a5 100644
--- a/xfa/fxfa/parser/xfa_script_logpseudomodel.cpp
+++ b/xfa/fxfa/parser/cscript_logpseudomodel.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/parser/xfa_script_logpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_logpseudomodel.h"
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_doclayout.h"
diff --git a/xfa/fxfa/parser/xfa_script_logpseudomodel.h b/xfa/fxfa/parser/cscript_logpseudomodel.h
index 917bbdcf0d..1da076ef3d 100644
--- a/xfa/fxfa/parser/xfa_script_logpseudomodel.h
+++ b/xfa/fxfa/parser/cscript_logpseudomodel.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_PARSER_XFA_SCRIPT_LOGPSEUDOMODEL_H_
-#define XFA_FXFA_PARSER_XFA_SCRIPT_LOGPSEUDOMODEL_H_
+#ifndef XFA_FXFA_PARSER_CSCRIPT_LOGPSEUDOMODEL_H_
+#define XFA_FXFA_PARSER_CSCRIPT_LOGPSEUDOMODEL_H_
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_object.h"
@@ -22,4 +22,4 @@ class CScript_LogPseudoModel : public CXFA_Object {
void Trace(CFXJSE_Arguments* pArguments);
};
-#endif // XFA_FXFA_PARSER_XFA_SCRIPT_LOGPSEUDOMODEL_H_
+#endif // XFA_FXFA_PARSER_CSCRIPT_LOGPSEUDOMODEL_H_
diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp b/xfa/fxfa/parser/cscript_signaturepseudomodel.cpp
index 95b9a3605b..ed5891eb3a 100644
--- a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
+++ b/xfa/fxfa/parser/cscript_signaturepseudomodel.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/parser/xfa_script_signaturepseudomodel.h"
+#include "xfa/fxfa/parser/cscript_signaturepseudomodel.h"
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/app/xfa_ffnotify.h"
diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.h b/xfa/fxfa/parser/cscript_signaturepseudomodel.h
index 56f5e5de43..f8478c2a0f 100644
--- a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.h
+++ b/xfa/fxfa/parser/cscript_signaturepseudomodel.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_PARSER_XFA_SCRIPT_SIGNATUREPSEUDOMODEL_H_
-#define XFA_FXFA_PARSER_XFA_SCRIPT_SIGNATUREPSEUDOMODEL_H_
+#ifndef XFA_FXFA_PARSER_CSCRIPT_SIGNATUREPSEUDOMODEL_H_
+#define XFA_FXFA_PARSER_CSCRIPT_SIGNATUREPSEUDOMODEL_H_
#include "fxjs/include/cfxjse_arguments.h"
#include "xfa/fxfa/parser/xfa_object.h"
@@ -21,4 +21,4 @@ class CScript_SignaturePseudoModel : public CXFA_Object {
void Clear(CFXJSE_Arguments* pArguments);
};
-#endif // XFA_FXFA_PARSER_XFA_SCRIPT_SIGNATUREPSEUDOMODEL_H_
+#endif // XFA_FXFA_PARSER_CSCRIPT_SIGNATUREPSEUDOMODEL_H_
diff --git a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
index ee4d578b6e..7ea1679dcb 100644
--- a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
+++ b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
@@ -7,13 +7,13 @@
#include "xfa/fxfa/parser/xfa_basic_data.h"
#include "xfa/fxfa/include/fxfa_basic.h"
+#include "xfa/fxfa/parser/cscript_datawindow.h"
+#include "xfa/fxfa/parser/cscript_eventpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_hostpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_layoutpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_logpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_signaturepseudomodel.h"
#include "xfa/fxfa/parser/xfa_script.h"
-#include "xfa/fxfa/parser/xfa_script_datawindow.h"
-#include "xfa/fxfa/parser/xfa_script_eventpseudomodel.h"
-#include "xfa/fxfa/parser/xfa_script_hostpseudomodel.h"
-#include "xfa/fxfa/parser/xfa_script_layoutpseudomodel.h"
-#include "xfa/fxfa/parser/xfa_script_logpseudomodel.h"
-#include "xfa/fxfa/parser/xfa_script_signaturepseudomodel.h"
const XFA_SCRIPTHIERARCHY g_XFAScriptIndex[] = {
{0, 0, 0, 2, 316}, {0, 0, 2, 2, 316}, {0, 0, 4, 2, 316},
diff --git a/xfa/fxfa/parser/xfa_document_imp.cpp b/xfa/fxfa/parser/xfa_document_imp.cpp
index 382fd7db3b..b862b59ecd 100644
--- a/xfa/fxfa/parser/xfa_document_imp.cpp
+++ b/xfa/fxfa/parser/xfa_document_imp.cpp
@@ -6,6 +6,12 @@
#include "core/fxcrt/include/fx_ext.h"
#include "xfa/fxfa/app/xfa_ffnotify.h"
+#include "xfa/fxfa/parser/cscript_datawindow.h"
+#include "xfa/fxfa/parser/cscript_eventpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_hostpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_layoutpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_logpseudomodel.h"
+#include "xfa/fxfa/parser/cscript_signaturepseudomodel.h"
#include "xfa/fxfa/parser/cxfa_document_parser.h"
#include "xfa/fxfa/parser/xfa_basic_imp.h"
#include "xfa/fxfa/parser/xfa_doclayout.h"
@@ -14,13 +20,7 @@
#include "xfa/fxfa/parser/xfa_localemgr.h"
#include "xfa/fxfa/parser/xfa_object.h"
#include "xfa/fxfa/parser/xfa_script.h"
-#include "xfa/fxfa/parser/xfa_script_datawindow.h"
-#include "xfa/fxfa/parser/xfa_script_eventpseudomodel.h"
-#include "xfa/fxfa/parser/xfa_script_hostpseudomodel.h"
#include "xfa/fxfa/parser/xfa_script_imp.h"
-#include "xfa/fxfa/parser/xfa_script_layoutpseudomodel.h"
-#include "xfa/fxfa/parser/xfa_script_logpseudomodel.h"
-#include "xfa/fxfa/parser/xfa_script_signaturepseudomodel.h"
#include "xfa/fxfa/parser/xfa_utils.h"
CXFA_Document::CXFA_Document(CXFA_DocumentParser* pParser)