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/fsdk_actionhandler.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/fsdk_actionhandler.h')
-rw-r--r-- | fpdfsdk/fsdk_actionhandler.h | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/fpdfsdk/fsdk_actionhandler.h b/fpdfsdk/fsdk_actionhandler.h index 6eff835c5d..1c8dedefd7 100644 --- a/fpdfsdk/fsdk_actionhandler.h +++ b/fpdfsdk/fsdk_actionhandler.h @@ -23,64 +23,64 @@ class CPDF_FormField; class CPDFSDK_ActionHandler { public: - FX_BOOL DoAction_DocOpen(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_JavaScript(const CPDF_Action& JsAction, - CFX_WideString csJSName, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_Page(const CPDF_Action& action, - enum CPDF_AAction::AActionType eType, + bool DoAction_DocOpen(const CPDF_Action& action, CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_Document(const CPDF_Action& action, - enum CPDF_AAction::AActionType eType, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_BookMark(CPDF_Bookmark* pBookMark, - const CPDF_Action& action, - CPDF_AAction::AActionType type, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_Screen(const CPDF_Action& action, - CPDF_AAction::AActionType type, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - CPDFSDK_Annot* pScreen); - FX_BOOL DoAction_Link(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_Field(const CPDF_Action& action, + bool DoAction_JavaScript(const CPDF_Action& JsAction, + CFX_WideString csJSName, + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_Page(const CPDF_Action& action, + enum CPDF_AAction::AActionType eType, + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_Document(const CPDF_Action& action, + enum CPDF_AAction::AActionType eType, + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_BookMark(CPDF_Bookmark* pBookMark, + const CPDF_Action& action, CPDF_AAction::AActionType type, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - CPDF_FormField* pFormField, - PDFSDK_FieldAction& data); - FX_BOOL DoAction_FieldJavaScript(const CPDF_Action& JsAction, - CPDF_AAction::AActionType type, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - CPDF_FormField* pFormField, - PDFSDK_FieldAction& data); + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_Screen(const CPDF_Action& action, + CPDF_AAction::AActionType type, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + CPDFSDK_Annot* pScreen); + bool DoAction_Link(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_Field(const CPDF_Action& action, + CPDF_AAction::AActionType type, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + CPDF_FormField* pFormField, + PDFSDK_FieldAction& data); + bool DoAction_FieldJavaScript(const CPDF_Action& JsAction, + CPDF_AAction::AActionType type, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + CPDF_FormField* pFormField, + PDFSDK_FieldAction& data); private: - FX_BOOL ExecuteDocumentOpenAction(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - std::set<CPDF_Dictionary*>* visited); - FX_BOOL ExecuteDocumentPageAction(const CPDF_Action& action, - CPDF_AAction::AActionType type, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - std::set<CPDF_Dictionary*>* visited); - FX_BOOL ExecuteFieldAction(const CPDF_Action& action, - CPDF_AAction::AActionType type, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - CPDF_FormField* pFormField, - PDFSDK_FieldAction& data, - std::set<CPDF_Dictionary*>* visited); - FX_BOOL ExecuteScreenAction(const CPDF_Action& action, - CPDF_AAction::AActionType type, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - CPDFSDK_Annot* pScreen, - std::set<CPDF_Dictionary*>* visited); - FX_BOOL ExecuteBookMark(const CPDF_Action& action, + bool ExecuteDocumentOpenAction(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + std::set<CPDF_Dictionary*>* visited); + bool ExecuteDocumentPageAction(const CPDF_Action& action, + CPDF_AAction::AActionType type, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + std::set<CPDF_Dictionary*>* visited); + bool ExecuteFieldAction(const CPDF_Action& action, + CPDF_AAction::AActionType type, CPDFSDK_FormFillEnvironment* pFormFillEnv, - CPDF_Bookmark* pBookmark, + CPDF_FormField* pFormField, + PDFSDK_FieldAction& data, std::set<CPDF_Dictionary*>* visited); - FX_BOOL ExecuteLinkAction(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv, - std::set<CPDF_Dictionary*>* visited); + bool ExecuteScreenAction(const CPDF_Action& action, + CPDF_AAction::AActionType type, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + CPDFSDK_Annot* pScreen, + std::set<CPDF_Dictionary*>* visited); + bool ExecuteBookMark(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + CPDF_Bookmark* pBookmark, + std::set<CPDF_Dictionary*>* visited); + bool ExecuteLinkAction(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv, + std::set<CPDF_Dictionary*>* visited); void DoAction_NoJs(const CPDF_Action& action, CPDFSDK_FormFillEnvironment* pFormFillEnv); @@ -96,9 +96,9 @@ class CPDFSDK_ActionHandler { PDFSDK_FieldAction& data, const CFX_WideString& script); - FX_BOOL IsValidField(CPDFSDK_FormFillEnvironment* pFormFillEnv, - CPDF_Dictionary* pFieldDict); - FX_BOOL IsValidDocView(CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool IsValidField(CPDFSDK_FormFillEnvironment* pFormFillEnv, + CPDF_Dictionary* pFieldDict); + bool IsValidDocView(CPDFSDK_FormFillEnvironment* pFormFillEnv); void DoAction_GoTo(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CPDF_Action& action); @@ -113,14 +113,14 @@ class CPDFSDK_ActionHandler { void DoAction_SetOCGState(CPDFSDK_FormFillEnvironment* pFormFillEnv, const CPDF_Action& action); - FX_BOOL DoAction_Hide(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_SubmitForm(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_ResetForm(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv); - FX_BOOL DoAction_ImportData(const CPDF_Action& action, - CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_Hide(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_SubmitForm(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_ResetForm(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv); + bool DoAction_ImportData(const CPDF_Action& action, + CPDFSDK_FormFillEnvironment* pFormFillEnv); }; #endif // FPDFSDK_FSDK_ACTIONHANDLER_H_ |