From 23213b2750e33dfe96b091b78ec8b10fe4d73a67 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 1 Sep 2015 13:53:19 -0700 Subject: CPDFSDK_MediaActionHandler is unused. It's never instantiated, and any pointers to it are always NULL. Also kill an unused arg to CPDFSDK_ActionHandler ctor along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1329583004 . --- fpdfsdk/include/fsdk_actionhandler.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'fpdfsdk/include') diff --git a/fpdfsdk/include/fsdk_actionhandler.h b/fpdfsdk/include/fsdk_actionhandler.h index dfb7d488c2..09f13ac5b8 100644 --- a/fpdfsdk/include/fsdk_actionhandler.h +++ b/fpdfsdk/include/fsdk_actionhandler.h @@ -13,12 +13,10 @@ #include "fsdk_baseform.h" class CFX_PtrList; -class CPDFDoc_Environment; class CPDFSDK_Annot; class CPDFSDK_Document; class CPDF_Bookmark; class CPDF_Dictionary; -class IFXJS_Runtime; class CPDFSDK_FormActionHandler { public: @@ -31,21 +29,9 @@ class CPDFSDK_FormActionHandler { CPDFSDK_Document* pDocument); }; -class CPDFSDK_MediaActionHandler { - public: - FX_BOOL DoAction_Rendition(const CPDF_Action& action, - CPDFSDK_Document* pDocument); - FX_BOOL DoAction_Sound(const CPDF_Action& action, - CPDFSDK_Document* pDocument); - FX_BOOL DoAction_Movie(const CPDF_Action& action, - CPDFSDK_Document* pDocument); -}; - class CPDFSDK_ActionHandler { public: - CPDFSDK_ActionHandler(CPDFDoc_Environment* pEvi); - - void SetMediaActionHandler(CPDFSDK_MediaActionHandler* pHandler); + CPDFSDK_ActionHandler(); FX_BOOL DoAction_DocOpen(const CPDF_Action& action, CPDFSDK_Document* pDocument); @@ -131,7 +117,6 @@ class CPDFSDK_ActionHandler { const CPDF_Action& action); nonstd::unique_ptr m_pFormActionHandler; - CPDFSDK_MediaActionHandler* m_pMediaActionHandler; }; #endif // FPDFSDK_INCLUDE_FSDK_ACTIONHANDLER_H_ -- cgit v1.2.3