xref: /aosp_15_r20/external/pdfium/fpdfsdk/formfiller/cffl_pushbutton.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2014 The PDFium Authors
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(CFFL_InteractiveFormFiller* pFormFiller,
17                   CPDFSDK_Widget* pWidget);
18   ~CFFL_PushButton() override;
19 
20   // CFFL_Button:
21   std::unique_ptr<CPWL_Wnd> NewPWLWindow(
22       const CPWL_Wnd::CreateParams& cp,
23       std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData) override;
24 };
25 
26 #endif  // FPDFSDK_FORMFILLER_CFFL_PUSHBUTTON_H_
27