From f1e7c461dfabbff6b65a072f24f6711b34159361 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 23 Jul 2015 13:36:00 -0700 Subject: Revert "FX_BOOL considered harmful, part 2." This reverts commit 320b2313d19869333ed453af546e61a9fc2b81c9. Reason for revert: build failure. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1255693002 . --- 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