From 8d2aae7ee320da3a8ffe01c57e38b3f98443257d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 27 Jul 2015 12:08:12 -0700 Subject: Revert "FX Bool considered harmful, part 3" This reverts commit ff46aaf499edcf153ee2f57c7016587aa96dcfa0. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1255293002 . --- fpdfsdk/include/javascript/event.h | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'fpdfsdk/include/javascript/event.h') diff --git a/fpdfsdk/include/javascript/event.h b/fpdfsdk/include/javascript/event.h index e980a96e74..91a38ba487 100644 --- a/fpdfsdk/include/javascript/event.h +++ b/fpdfsdk/include/javascript/event.h @@ -16,26 +16,26 @@ public: virtual ~event(void); public: - 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); + 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); }; -- cgit v1.2.3