1*3ac0a46fSAndroid Build Coastguard Worker // Copyright 2014 The PDFium Authors 2*3ac0a46fSAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 3*3ac0a46fSAndroid Build Coastguard Worker // found in the LICENSE file. 4*3ac0a46fSAndroid Build Coastguard Worker 5*3ac0a46fSAndroid Build Coastguard Worker // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6*3ac0a46fSAndroid Build Coastguard Worker 7*3ac0a46fSAndroid Build Coastguard Worker #ifndef FPDFSDK_FORMFILLER_CFFL_PUSHBUTTON_H_ 8*3ac0a46fSAndroid Build Coastguard Worker #define FPDFSDK_FORMFILLER_CFFL_PUSHBUTTON_H_ 9*3ac0a46fSAndroid Build Coastguard Worker 10*3ac0a46fSAndroid Build Coastguard Worker #include <memory> 11*3ac0a46fSAndroid Build Coastguard Worker 12*3ac0a46fSAndroid Build Coastguard Worker #include "fpdfsdk/formfiller/cffl_button.h" 13*3ac0a46fSAndroid Build Coastguard Worker 14*3ac0a46fSAndroid Build Coastguard Worker class CFFL_PushButton final : public CFFL_Button { 15*3ac0a46fSAndroid Build Coastguard Worker public: 16*3ac0a46fSAndroid Build Coastguard Worker CFFL_PushButton(CFFL_InteractiveFormFiller* pFormFiller, 17*3ac0a46fSAndroid Build Coastguard Worker CPDFSDK_Widget* pWidget); 18*3ac0a46fSAndroid Build Coastguard Worker ~CFFL_PushButton() override; 19*3ac0a46fSAndroid Build Coastguard Worker 20*3ac0a46fSAndroid Build Coastguard Worker // CFFL_Button: 21*3ac0a46fSAndroid Build Coastguard Worker std::unique_ptr<CPWL_Wnd> NewPWLWindow( 22*3ac0a46fSAndroid Build Coastguard Worker const CPWL_Wnd::CreateParams& cp, 23*3ac0a46fSAndroid Build Coastguard Worker std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData) override; 24*3ac0a46fSAndroid Build Coastguard Worker }; 25*3ac0a46fSAndroid Build Coastguard Worker 26*3ac0a46fSAndroid Build Coastguard Worker #endif // FPDFSDK_FORMFILLER_CFFL_PUSHBUTTON_H_ 27