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

Side by Side Diff: xfa/fxfa/app/xfa_ffsignature.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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/fxfa/app/xfa_ffpushbutton.cpp ('k') | xfa/fxfa/app/xfa_ffsignature.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_FXFA_APP_XFA_FFSIGNATURE_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFSIGNATURE_H_
8 #define XFA_FXFA_APP_XFA_FFSIGNATURE_H_ 8 #define XFA_FXFA_APP_XFA_FFSIGNATURE_H_
9 9
10 #include "xfa/fxfa/app/xfa_fffield.h" 10 #include "xfa/fxfa/app/xfa_fffield.h"
11 11
12 class CXFA_FFSignature final : public CXFA_FFField { 12 class CXFA_FFSignature final : public CXFA_FFField {
13 public: 13 public:
14 CXFA_FFSignature(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 14 CXFA_FFSignature(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
15 ~CXFA_FFSignature() override; 15 ~CXFA_FFSignature() override;
16 16
17 // CXFA_FFField 17 // CXFA_FFField
18 void RenderWidget(CFX_Graphics* pGS, 18 void RenderWidget(CFX_Graphics* pGS,
19 CFX_Matrix* pMatrix, 19 CFX_Matrix* pMatrix,
20 uint32_t dwStatus) override; 20 uint32_t dwStatus) override;
21 FX_BOOL LoadWidget() override; 21 bool LoadWidget() override;
22 FX_BOOL OnMouseEnter() override; 22 bool OnMouseEnter() override;
23 FX_BOOL OnMouseExit() override; 23 bool OnMouseExit() override;
24 FX_BOOL OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; 24 bool OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
25 FX_BOOL OnLButtonUp(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; 25 bool OnLButtonUp(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
26 FX_BOOL OnLButtonDblClk(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; 26 bool OnLButtonDblClk(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
27 FX_BOOL OnMouseMove(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; 27 bool OnMouseMove(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
28 FX_BOOL OnMouseWheel(uint32_t dwFlags, 28 bool OnMouseWheel(uint32_t dwFlags,
29 int16_t zDelta, 29 int16_t zDelta,
30 FX_FLOAT fx, 30 FX_FLOAT fx,
31 FX_FLOAT fy) override; 31 FX_FLOAT fy) override;
32 FX_BOOL OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; 32 bool OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
33 FX_BOOL OnRButtonUp(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; 33 bool OnRButtonUp(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
34 FX_BOOL OnRButtonDblClk(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override; 34 bool OnRButtonDblClk(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
35 35
36 FX_BOOL OnKeyDown(uint32_t dwKeyCode, uint32_t dwFlags) override; 36 bool OnKeyDown(uint32_t dwKeyCode, uint32_t dwFlags) override;
37 FX_BOOL OnKeyUp(uint32_t dwKeyCode, uint32_t dwFlags) override; 37 bool OnKeyUp(uint32_t dwKeyCode, uint32_t dwFlags) override;
38 FX_BOOL OnChar(uint32_t dwChar, uint32_t dwFlags) override; 38 bool OnChar(uint32_t dwChar, uint32_t dwFlags) override;
39 FWL_WidgetHit OnHitTest(FX_FLOAT fx, FX_FLOAT fy) override; 39 FWL_WidgetHit OnHitTest(FX_FLOAT fx, FX_FLOAT fy) override;
40 FX_BOOL OnSetCursor(FX_FLOAT fx, FX_FLOAT fy) override; 40 bool OnSetCursor(FX_FLOAT fx, FX_FLOAT fy) override;
41 }; 41 };
42 42
43 #endif // XFA_FXFA_APP_XFA_FFSIGNATURE_H_ 43 #endif // XFA_FXFA_APP_XFA_FFSIGNATURE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffpushbutton.cpp ('k') | xfa/fxfa/app/xfa_ffsignature.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698