summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/event.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-02-17 13:30:23 -0800
committerTom Sepez <tsepez@chromium.org>2015-02-17 13:30:23 -0800
commitccc948344564f0e2079c3c3a5b1483ab5203fec9 (patch)
treed125f481a7a63a728e8bd2af151f5a633876eaa5 /fpdfsdk/src/javascript/event.cpp
parentca6c0d3262d994fbb008ee1ae5ff19c1612bc982 (diff)
downloadpdfium-ccc948344564f0e2079c3c3a5b1483ab5203fec9.tar.xz
Merge to XFA: Tidy up JS_Defines.h
Original Review URL: https://codereview.chromium.org/927263003 TBR=brucedawson@chromium.org Review URL: https://codereview.chromium.org/936613002
Diffstat (limited to 'fpdfsdk/src/javascript/event.cpp')
-rw-r--r--fpdfsdk/src/javascript/event.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/fpdfsdk/src/javascript/event.cpp b/fpdfsdk/src/javascript/event.cpp
index 5188765a04..196ab327d8 100644
--- a/fpdfsdk/src/javascript/event.cpp
+++ b/fpdfsdk/src/javascript/event.cpp
@@ -56,7 +56,7 @@ event::~event(void)
{
}
-FX_BOOL event::change(OBJ_PROP_PARAMS)
+FX_BOOL event::change(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -76,7 +76,7 @@ FX_BOOL event::change(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::changeEx(OBJ_PROP_PARAMS)
+FX_BOOL event::changeEx(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -89,7 +89,7 @@ FX_BOOL event::changeEx(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::commitKey(OBJ_PROP_PARAMS)
+FX_BOOL event::commitKey(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -102,7 +102,7 @@ FX_BOOL event::commitKey(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::fieldFull(OBJ_PROP_PARAMS)
+FX_BOOL event::fieldFull(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -119,7 +119,7 @@ FX_BOOL event::fieldFull(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::keyDown(OBJ_PROP_PARAMS)
+FX_BOOL event::keyDown(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -135,7 +135,7 @@ FX_BOOL event::keyDown(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::modifier(OBJ_PROP_PARAMS)
+FX_BOOL event::modifier(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -151,7 +151,7 @@ FX_BOOL event::modifier(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::name(OBJ_PROP_PARAMS)
+FX_BOOL event::name(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -164,7 +164,7 @@ FX_BOOL event::name(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::rc(OBJ_PROP_PARAMS)
+FX_BOOL event::rc(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -183,7 +183,7 @@ FX_BOOL event::rc(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::richChange(OBJ_PROP_PARAMS)
+FX_BOOL event::richChange(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
return TRUE;
if (vp.IsSetting())
@@ -196,7 +196,7 @@ FX_BOOL event::richChange(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::richChangeEx(OBJ_PROP_PARAMS)
+FX_BOOL event::richChangeEx(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
return TRUE;
if (vp.IsSetting())
@@ -210,7 +210,7 @@ FX_BOOL event::richChangeEx(OBJ_PROP_PARAMS)
}
-FX_BOOL event::richValue(OBJ_PROP_PARAMS)
+FX_BOOL event::richValue(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
return TRUE;
if (vp.IsSetting())
@@ -223,7 +223,7 @@ FX_BOOL event::richValue(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::selEnd(OBJ_PROP_PARAMS)
+FX_BOOL event::selEnd(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -247,7 +247,7 @@ FX_BOOL event::selEnd(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::selStart(OBJ_PROP_PARAMS)
+FX_BOOL event::selStart(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -270,7 +270,7 @@ FX_BOOL event::selStart(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::shift(OBJ_PROP_PARAMS)
+FX_BOOL event::shift(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -286,7 +286,7 @@ FX_BOOL event::shift(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::source(OBJ_PROP_PARAMS)
+FX_BOOL event::source(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -299,7 +299,7 @@ FX_BOOL event::source(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::target(OBJ_PROP_PARAMS)
+FX_BOOL event::target(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -312,7 +312,7 @@ FX_BOOL event::target(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::targetName(OBJ_PROP_PARAMS)
+FX_BOOL event::targetName(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -325,7 +325,7 @@ FX_BOOL event::targetName(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::type(OBJ_PROP_PARAMS)
+FX_BOOL event::type(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;
@@ -338,7 +338,7 @@ FX_BOOL event::type(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::value(OBJ_PROP_PARAMS)
+FX_BOOL event::value(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -361,7 +361,7 @@ FX_BOOL event::value(OBJ_PROP_PARAMS)
return TRUE;
}
-FX_BOOL event::willCommit(OBJ_PROP_PARAMS)
+FX_BOOL event::willCommit(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError)
{
if (!vp.IsGetting())return FALSE;