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

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

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fxfa/app/xfa_ffpushbutton.h ('k') | xfa/fxfa/app/xfa_fftext.h » ('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 virtual ~CXFA_FFSignature(); 15 virtual ~CXFA_FFSignature();
16 16
17 virtual void RenderWidget(CFX_Graphics* pGS, 17 virtual void RenderWidget(CFX_Graphics* pGS,
18 CFX_Matrix* pMatrix = NULL, 18 CFX_Matrix* pMatrix = NULL,
19 FX_DWORD dwStatus = 0, 19 uint32_t dwStatus = 0,
20 int32_t iRotate = 0); 20 int32_t iRotate = 0);
21 virtual FX_BOOL LoadWidget(); 21 virtual FX_BOOL LoadWidget();
22 virtual FX_BOOL OnMouseEnter(); 22 virtual FX_BOOL OnMouseEnter();
23 virtual FX_BOOL OnMouseExit(); 23 virtual FX_BOOL OnMouseExit();
24 virtual FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 24 virtual FX_BOOL OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
25 virtual FX_BOOL OnLButtonUp(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 25 virtual FX_BOOL OnLButtonUp(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
26 virtual FX_BOOL OnLButtonDblClk(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 26 virtual FX_BOOL OnLButtonDblClk(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
27 virtual FX_BOOL OnMouseMove(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 27 virtual FX_BOOL OnMouseMove(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
28 virtual FX_BOOL OnMouseWheel(FX_DWORD dwFlags, 28 virtual FX_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); 31 FX_FLOAT fy);
32 virtual FX_BOOL OnRButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 32 virtual FX_BOOL OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
33 virtual FX_BOOL OnRButtonUp(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 33 virtual FX_BOOL OnRButtonUp(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
34 virtual FX_BOOL OnRButtonDblClk(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy); 34 virtual FX_BOOL OnRButtonDblClk(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy);
35 35
36 virtual FX_BOOL OnKeyDown(FX_DWORD dwKeyCode, FX_DWORD dwFlags); 36 virtual FX_BOOL OnKeyDown(uint32_t dwKeyCode, uint32_t dwFlags);
37 virtual FX_BOOL OnKeyUp(FX_DWORD dwKeyCode, FX_DWORD dwFlags); 37 virtual FX_BOOL OnKeyUp(uint32_t dwKeyCode, uint32_t dwFlags);
38 virtual FX_BOOL OnChar(FX_DWORD dwChar, FX_DWORD dwFlags); 38 virtual FX_BOOL OnChar(uint32_t dwChar, uint32_t dwFlags);
39 virtual FX_DWORD OnHitTest(FX_FLOAT fx, FX_FLOAT fy); 39 virtual uint32_t OnHitTest(FX_FLOAT fx, FX_FLOAT fy);
40 virtual FX_BOOL OnSetCursor(FX_FLOAT fx, FX_FLOAT fy); 40 virtual FX_BOOL OnSetCursor(FX_FLOAT fx, FX_FLOAT fy);
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.h ('k') | xfa/fxfa/app/xfa_fftext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698