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