summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/event.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-02-16 11:49:55 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-02-16 20:23:48 +0000
commitd6ae2afa821c87e84790d5c04bbc172a7b12f08f (patch)
tree10beb72deaffca61ccc54a3fb49ea0d9636579bb /fpdfsdk/javascript/event.h
parent49f7deb494064351c72ef4d31577e04f634e63f3 (diff)
downloadpdfium-d6ae2afa821c87e84790d5c04bbc172a7b12f08f.tar.xz
Rename IJS_Context to IJS_EventContext.
Prevents confusion with v8::Context, which is wrapped by a different IJS_ class. Change-Id: Iff75809e65015c0f810294de1f0d8ecf963150a3 Reviewed-on: https://pdfium-review.googlesource.com/2751 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/event.h')
-rw-r--r--fpdfsdk/javascript/event.h60
1 files changed, 40 insertions, 20 deletions
diff --git a/fpdfsdk/javascript/event.h b/fpdfsdk/javascript/event.h
index 67194944d0..54ba3f0a07 100644
--- a/fpdfsdk/javascript/event.h
+++ b/fpdfsdk/javascript/event.h
@@ -15,26 +15,46 @@ class event : public CJS_EmbedObj {
~event() override;
public:
- bool change(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool changeEx(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool commitKey(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool fieldFull(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool keyDown(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool modifier(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool name(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool rc(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool richChange(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool richChangeEx(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool richValue(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool selEnd(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool selStart(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool shift(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool source(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool target(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool targetName(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool type(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool value(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool willCommit(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool change(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool changeEx(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool commitKey(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool fieldFull(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool keyDown(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool modifier(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool name(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool rc(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool richChange(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool richChangeEx(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool richValue(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool selEnd(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool selStart(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool shift(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool source(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool target(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool targetName(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
+ bool type(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool value(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool willCommit(IJS_EventContext* cc,
+ CJS_PropValue& vp,
+ CFX_WideString& sError);
};
class CJS_Event : public CJS_Object {