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

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

Issue 2071683002: Make code compile with clang_use_chrome_plugin (part V) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: clean up 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/fxfa/app/xfa_ffimage.h ('k') | xfa/fxfa/app/xfa_ffpageview.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_FFIMAGEEDIT_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFIMAGEEDIT_H_
8 #define XFA_FXFA_APP_XFA_FFIMAGEEDIT_H_ 8 #define XFA_FXFA_APP_XFA_FFIMAGEEDIT_H_
9 9
10 #include "xfa/fxfa/app/xfa_fffield.h" 10 #include "xfa/fxfa/app/xfa_fffield.h"
11 11
12 class CXFA_FFImageEdit : public CXFA_FFField { 12 class CXFA_FFImageEdit : public CXFA_FFField {
13 public: 13 public:
14 CXFA_FFImageEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 14 CXFA_FFImageEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
15 virtual ~CXFA_FFImageEdit(); 15 ~CXFA_FFImageEdit() override;
16 16
17 virtual void RenderWidget(CFX_Graphics* pGS, 17 // CXFA_FFField
18 CFX_Matrix* pMatrix = NULL, 18 void RenderWidget(CFX_Graphics* pGS,
19 uint32_t dwStatus = 0, 19 CFX_Matrix* pMatrix = NULL,
20 int32_t iRotate = 0); 20 uint32_t dwStatus = 0,
21 virtual FX_BOOL LoadWidget(); 21 int32_t iRotate = 0) override;
22 virtual void UnloadWidget(); 22 FX_BOOL LoadWidget() override;
23 virtual FX_BOOL OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy); 23 void UnloadWidget() override;
24 virtual void OnProcessMessage(CFWL_Message* pMessage); 24 FX_BOOL OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
25 virtual void OnProcessEvent(CFWL_Event* pEvent); 25 void OnProcessMessage(CFWL_Message* pMessage) override;
26 virtual void OnDrawWidget(CFX_Graphics* pGraphics, 26 void OnProcessEvent(CFWL_Event* pEvent) override;
27 const CFX_Matrix* pMatrix = NULL); 27 void OnDrawWidget(CFX_Graphics* pGraphics,
28 const CFX_Matrix* pMatrix = NULL) override;
28 29
29 protected: 30 protected:
30 virtual void SetFWLRect(); 31 void SetFWLRect() override;
31 virtual FX_BOOL UpdateFWLData(); 32 FX_BOOL UpdateFWLData() override;
32 virtual FX_BOOL CommitData(); 33 FX_BOOL CommitData() override;
34
33 IFWL_WidgetDelegate* m_pOldDelegate; 35 IFWL_WidgetDelegate* m_pOldDelegate;
34 }; 36 };
35 37
36 #endif // XFA_FXFA_APP_XFA_FFIMAGEEDIT_H_ 38 #endif // XFA_FXFA_APP_XFA_FFIMAGEEDIT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffimage.h ('k') | xfa/fxfa/app/xfa_ffpageview.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698