Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(991)

Side by Side Diff: xfa/fwl/basewidget/fwl_pushbuttonimp.h

Issue 2095653002: Remove NULL in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/basewidget/fwl_pictureboximp.h ('k') | xfa/fwl/basewidget/fwl_pushbuttonimp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_
8 #define XFA_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ 8 #define XFA_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_
9 9
10 #include "xfa/fwl/core/fwl_widgetimp.h" 10 #include "xfa/fwl/core/fwl_widgetimp.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 uint32_t m_dwTTOStyles; 50 uint32_t m_dwTTOStyles;
51 int32_t m_iTTOAlign; 51 int32_t m_iTTOAlign;
52 }; 52 };
53 53
54 class CFWL_PushButtonImpDelegate : public CFWL_WidgetImpDelegate { 54 class CFWL_PushButtonImpDelegate : public CFWL_WidgetImpDelegate {
55 public: 55 public:
56 CFWL_PushButtonImpDelegate(CFWL_PushButtonImp* pOwner); 56 CFWL_PushButtonImpDelegate(CFWL_PushButtonImp* pOwner);
57 void OnProcessMessage(CFWL_Message* pMessage) override; 57 void OnProcessMessage(CFWL_Message* pMessage) override;
58 void OnProcessEvent(CFWL_Event* pEvent) override; 58 void OnProcessEvent(CFWL_Event* pEvent) override;
59 void OnDrawWidget(CFX_Graphics* pGraphics, 59 void OnDrawWidget(CFX_Graphics* pGraphics,
60 const CFX_Matrix* pMatrix = NULL) override; 60 const CFX_Matrix* pMatrix = nullptr) override;
61 61
62 protected: 62 protected:
63 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); 63 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE);
64 void OnLButtonDown(CFWL_MsgMouse* pMsg); 64 void OnLButtonDown(CFWL_MsgMouse* pMsg);
65 void OnLButtonUp(CFWL_MsgMouse* pMsg); 65 void OnLButtonUp(CFWL_MsgMouse* pMsg);
66 void OnMouseMove(CFWL_MsgMouse* pMsg); 66 void OnMouseMove(CFWL_MsgMouse* pMsg);
67 void OnMouseLeave(CFWL_MsgMouse* pMsg); 67 void OnMouseLeave(CFWL_MsgMouse* pMsg);
68 void OnKeyDown(CFWL_MsgKey* pMsg); 68 void OnKeyDown(CFWL_MsgKey* pMsg);
69 CFWL_PushButtonImp* m_pOwner; 69 CFWL_PushButtonImp* m_pOwner;
70 }; 70 };
71 71
72 #endif // XFA_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_ 72 #endif // XFA_FWL_BASEWIDGET_FWL_PUSHBUTTONIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_pictureboximp.h ('k') | xfa/fwl/basewidget/fwl_pushbuttonimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698