summaryrefslogtreecommitdiff
path: root/xfa/src/fxjse
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-22 13:04:17 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-22 13:04:17 -0500
commit04d02dbdd511aed4ddd61d8648edc633a0fb8c43 (patch)
tree23c45c573096dbb58ca67c4c296d7c5aee579514 /xfa/src/fxjse
parent22d6607d104d4cb8c5263c4d307b4ba1e4ff959e (diff)
downloadpdfium-04d02dbdd511aed4ddd61d8648edc633a0fb8c43.tar.xz
Expand XFA includes to be relative to pdfium/.
This Cl updates the includes in the XFA directory to be relative to the pdfium/ directory instead of the current directory. This does not sort the includes as that is a larger IWYU task that will be handled separately. BUG=pdfium:65 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1723533002 .
Diffstat (limited to 'xfa/src/fxjse')
-rw-r--r--xfa/src/fxjse/src/class.cpp12
-rw-r--r--xfa/src/fxjse/src/context.cpp12
-rw-r--r--xfa/src/fxjse/src/dynprop.cpp6
-rw-r--r--xfa/src/fxjse/src/runtime.cpp6
-rw-r--r--xfa/src/fxjse/src/scope_inline.h4
-rw-r--r--xfa/src/fxjse/src/value.cpp12
-rw-r--r--xfa/src/fxjse/src/value.h2
7 files changed, 28 insertions, 26 deletions
diff --git a/xfa/src/fxjse/src/class.cpp b/xfa/src/fxjse/src/class.cpp
index 844241ab30..6cf90efb1a 100644
--- a/xfa/src/fxjse/src/class.cpp
+++ b/xfa/src/fxjse/src/class.cpp
@@ -5,12 +5,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/src/foxitlib.h"
-#include "fxv8.h"
-#include "context.h"
-#include "class.h"
-#include "value.h"
-#include "scope_inline.h"
-#include "util_inline.h"
+#include "xfa/src/fxjse/src/fxv8.h"
+#include "xfa/src/fxjse/src/context.h"
+#include "xfa/src/fxjse/src/class.h"
+#include "xfa/src/fxjse/src/value.h"
+#include "xfa/src/fxjse/src/scope_inline.h"
+#include "xfa/src/fxjse/src/util_inline.h"
static void FXJSE_V8ConstructorCallback_Wrapper(
const v8::FunctionCallbackInfo<v8::Value>& info);
static void FXJSE_V8FunctionCallback_Wrapper(
diff --git a/xfa/src/fxjse/src/context.cpp b/xfa/src/fxjse/src/context.cpp
index 7e214d5b89..6161802e08 100644
--- a/xfa/src/fxjse/src/context.cpp
+++ b/xfa/src/fxjse/src/context.cpp
@@ -5,12 +5,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/src/foxitlib.h"
-#include "fxv8.h"
-#include "context.h"
-#include "class.h"
-#include "value.h"
-#include "scope_inline.h"
-#include "util_inline.h"
+#include "xfa/src/fxjse/src/fxv8.h"
+#include "xfa/src/fxjse/src/context.h"
+#include "xfa/src/fxjse/src/class.h"
+#include "xfa/src/fxjse/src/value.h"
+#include "xfa/src/fxjse/src/scope_inline.h"
+#include "xfa/src/fxjse/src/util_inline.h"
FXJSE_HCONTEXT FXJSE_Context_Create(FXJSE_HRUNTIME hRuntime,
const FXJSE_CLASS* lpGlobalClass,
void* lpGlobalObject) {
diff --git a/xfa/src/fxjse/src/dynprop.cpp b/xfa/src/fxjse/src/dynprop.cpp
index 10f90a4ea5..3ae5279345 100644
--- a/xfa/src/fxjse/src/dynprop.cpp
+++ b/xfa/src/fxjse/src/dynprop.cpp
@@ -5,9 +5,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/src/foxitlib.h"
-#include "fxv8.h"
-#include "class.h"
-#include "value.h"
+#include "xfa/src/fxjse/src/fxv8.h"
+#include "xfa/src/fxjse/src/class.h"
+#include "xfa/src/fxjse/src/value.h"
static void FXJSE_DynPropGetterAdapter_MethodCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) {
v8::Local<v8::Object> hCallBackInfo = info.Data().As<v8::Object>();
diff --git a/xfa/src/fxjse/src/runtime.cpp b/xfa/src/fxjse/src/runtime.cpp
index 72e221226d..3553a9a443 100644
--- a/xfa/src/fxjse/src/runtime.cpp
+++ b/xfa/src/fxjse/src/runtime.cpp
@@ -6,9 +6,9 @@
#include "fpdfsdk/include/jsapi/fxjs_v8.h" // For per-isolate data.
#include "xfa/src/foxitlib.h"
-#include "fxv8.h"
-#include "runtime.h"
-#include "scope_inline.h"
+#include "xfa/src/fxjse/src/fxv8.h"
+#include "xfa/src/fxjse/src/runtime.h"
+#include "xfa/src/fxjse/src/scope_inline.h"
// Duplicates fpdfsdk's JS_Runtime.h, but keeps XFA from depending on it.
// TODO(tsepez): make a single version of this.
diff --git a/xfa/src/fxjse/src/scope_inline.h b/xfa/src/fxjse/src/scope_inline.h
index fdce7b37b5..77ddfa369e 100644
--- a/xfa/src/fxjse/src/scope_inline.h
+++ b/xfa/src/fxjse/src/scope_inline.h
@@ -7,8 +7,8 @@
#ifndef XFA_SRC_FXJSE_SRC_SCOPE_INLINE_H_
#define XFA_SRC_FXJSE_SRC_SCOPE_INLINE_H_
-#include "runtime.h"
-#include "context.h"
+#include "xfa/src/fxjse/src/runtime.h"
+#include "xfa/src/fxjse/src/context.h"
class CFXJSE_ScopeUtil_IsolateHandle {
protected:
diff --git a/xfa/src/fxjse/src/value.cpp b/xfa/src/fxjse/src/value.cpp
index 35c6169332..325996ff11 100644
--- a/xfa/src/fxjse/src/value.cpp
+++ b/xfa/src/fxjse/src/value.cpp
@@ -4,12 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/src/foxitlib.h"
-#include "fxv8.h"
-#include "value.h"
-#include "class.h"
#include <math.h>
-#include "util_inline.h"
+
+#include "xfa/src/foxitlib.h"
+#include "xfa/src/fxjse/src/fxv8.h"
+#include "xfa/src/fxjse/src/value.h"
+#include "xfa/src/fxjse/src/class.h"
+#include "xfa/src/fxjse/src/util_inline.h"
+
FX_BOOL FXJSE_Value_IsUndefined(FXJSE_HVALUE hValue) {
CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue);
return lpValue && lpValue->IsUndefined();
diff --git a/xfa/src/fxjse/src/value.h b/xfa/src/fxjse/src/value.h
index ad79e9f0c0..4bda30d6df 100644
--- a/xfa/src/fxjse/src/value.h
+++ b/xfa/src/fxjse/src/value.h
@@ -7,7 +7,7 @@
#ifndef XFA_SRC_FXJSE_SRC_VALUE_H_
#define XFA_SRC_FXJSE_SRC_VALUE_H_
-#include "scope_inline.h"
+#include "xfa/src/fxjse/src/scope_inline.h"
class CFXJSE_Value {
public: