diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-27 11:55:29 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-27 11:55:29 -0700 |
commit | ff46aaf499edcf153ee2f57c7016587aa96dcfa0 (patch) | |
tree | 0a0d92713af476897899b126d180cc6294433d10 /fpdfsdk/include/javascript/event.h | |
parent | aafeff816e22c1333c17d8a0eb4fe8927c28142d (diff) | |
download | pdfium-ff46aaf499edcf153ee2f57c7016587aa96dcfa0.tar.xz |
FX Bool considered harmful, part 3
Try to reland this patch after fixing underlying issues that
caused it to be reverted.
fx_system.h is the only manual edit.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1258093002 .
Diffstat (limited to 'fpdfsdk/include/javascript/event.h')
-rw-r--r-- | fpdfsdk/include/javascript/event.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/fpdfsdk/include/javascript/event.h b/fpdfsdk/include/javascript/event.h index 91a38ba487..e980a96e74 100644 --- a/fpdfsdk/include/javascript/event.h +++ b/fpdfsdk/include/javascript/event.h @@ -16,26 +16,26 @@ public: virtual ~event(void); public: - FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL changeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL commitKey(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL fieldFull(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL keyDown(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL modifier(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL name(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL rc(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL richChange(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL richChangeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL richValue(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL selEnd(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL selStart(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL shift(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL source(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL target(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL targetName(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL type(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL value(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - FX_BOOL willCommit(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool changeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool commitKey(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool fieldFull(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool keyDown(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool modifier(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool name(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool rc(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool richChange(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool richChangeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool richValue(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool selEnd(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool selStart(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool shift(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool source(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool target(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool targetName(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool type(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool value(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool willCommit(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); }; |