Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | |
|
Tom Sepez
2016/11/01 20:54:04
rather than adding all these tiny files, how about
dsinclair
2016/11/01 20:58:10
Changing IFWL_WidgetDelegate to IFWL_Widget::Deleg
| |
| 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 XFA_FXFA_APP_CXFA_FFCHECKBUTTONDELEGATE_H_ | |
| 8 #define XFA_FXFA_APP_CXFA_FFCHECKBUTTONDELEGATE_H_ | |
| 9 | |
| 10 #include "core/fxcrt/fx_coordinates.h" | |
| 11 #include "xfa/fwl/core/cfwl_event.h" | |
| 12 #include "xfa/fwl/core/cfwl_message.h" | |
| 13 #include "xfa/fxfa/app/cxfa_fffielddelegate.h" | |
| 14 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" | |
| 15 #include "xfa/fxfa/xfa_ffwidget.h" | |
| 16 #include "xfa/fxgraphics/cfx_graphics.h" | |
| 17 | |
| 18 class CXFA_FFCheckButtonDelegate : public CXFA_FFFieldDelegate { | |
| 19 public: | |
| 20 CXFA_FFCheckButtonDelegate(std::unique_ptr<IFWL_WidgetDelegate> pDelegate, | |
| 21 CXFA_FFCheckButton* const pWidget); | |
| 22 ~CXFA_FFCheckButtonDelegate() override; | |
| 23 | |
| 24 // CXFA_FFFieldDelegate. | |
| 25 void OnProcessMessage(CFWL_Message* pMessage) override; | |
| 26 void OnProcessEvent(CFWL_Event* pEvent) override; | |
| 27 void OnDrawWidget(CFX_Graphics* pGraphics, | |
| 28 const CFX_Matrix* pMatrix) override; | |
| 29 }; | |
| 30 | |
| 31 #endif // XFA_FXFA_APP_CXFA_FFCHECKBUTTONDELEGATE_H_ | |
| OLD | NEW |