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

Side by Side Diff: fpdfsdk/include/formfiller/FFL_RadioButton.h

Issue 1288393004: Merge to XFA: Use override in more classes in fpdfsdk/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: self review Created 5 years, 4 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 | « fpdfsdk/include/formfiller/FFL_PushButton.h ('k') | fpdfsdk/include/fsdk_annothandler.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 FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_ 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_ 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_
9 9
10 #include "FFL_FormFiller.h" 10 #include "FFL_FormFiller.h"
11 11
12 class CFFL_RadioButton : public CFFL_Button { 12 class CFFL_RadioButton : public CFFL_Button {
13 public: 13 public:
14 CFFL_RadioButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); 14 CFFL_RadioButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot);
15 virtual ~CFFL_RadioButton(); 15 ~CFFL_RadioButton() override;
16 16
17 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, 17 // CFFL_Button
18 CPDFSDK_PageView* pPageView); 18 CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp,
19 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, 19 CPDFSDK_PageView* pPageView) override;
20 FX_UINT nKeyCode, 20 FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot,
21 FX_UINT nFlags); 21 FX_UINT nKeyCode,
22 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); 22 FX_UINT nFlags) override;
23 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView* pPageView, 23 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags) override;
24 CPDFSDK_Annot* pAnnot, 24 FX_BOOL OnLButtonUp(CPDFSDK_PageView* pPageView,
25 FX_UINT nFlags, 25 CPDFSDK_Annot* pAnnot,
26 const CPDF_Point& point); 26 FX_UINT nFlags,
27 virtual FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView); 27 const CPDF_Point& point) override;
28 virtual void SaveData(CPDFSDK_PageView* pPageView); 28 FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView) override;
29 void SaveData(CPDFSDK_PageView* pPageView) override;
29 }; 30 };
30 31
31 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_ 32 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_RADIOBUTTON_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_PushButton.h ('k') | fpdfsdk/include/fsdk_annothandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698