diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 14:37:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 14:37:55 -0700 |
commit | 4cf551577856f89103e162edc761def44ffb96fc (patch) | |
tree | 452684db6c2dd2b9aa697415ff4b752e59123b77 /fpdfsdk/javascript/event.h | |
parent | 66bd67023f747c489d7144aaf4ca6222c686cd26 (diff) | |
download | pdfium-4cf551577856f89103e162edc761def44ffb96fc.tar.xz |
Remove FX_BOOL from fpdfsdk.
Review-Url: https://codereview.chromium.org/2453683011
Diffstat (limited to 'fpdfsdk/javascript/event.h')
-rw-r--r-- | fpdfsdk/javascript/event.h | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/fpdfsdk/javascript/event.h b/fpdfsdk/javascript/event.h index 57b3416bf9..d70b57801e 100644 --- a/fpdfsdk/javascript/event.h +++ b/fpdfsdk/javascript/event.h @@ -15,34 +15,26 @@ class event : public CJS_EmbedObj { ~event() override; public: - FX_BOOL change(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL changeEx(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL commitKey(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL fieldFull(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL keyDown(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL modifier(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL name(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL rc(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL richChange(IJS_Context* cc, - CJS_PropValue& vp, - CFX_WideString& sError); - FX_BOOL richChangeEx(IJS_Context* cc, - CJS_PropValue& vp, - CFX_WideString& sError); - FX_BOOL richValue(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL selEnd(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL selStart(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL shift(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL source(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL target(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL targetName(IJS_Context* cc, - CJS_PropValue& vp, - CFX_WideString& sError); - FX_BOOL type(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL value(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL willCommit(IJS_Context* cc, - CJS_PropValue& vp, - CFX_WideString& sError); + 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); }; class CJS_Event : public CJS_Object { |