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

Side by Side Diff: fpdfsdk/formfiller/cffl_radiobutton.h

Issue 2391313002: Rename CPDFSDK_Environment to CPDFSDK_FormfillEnvironment (Closed)
Patch Set: Rebase to master Created 4 years, 2 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
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_FORMFILLER_CFFL_RADIOBUTTON_H_ 7 #ifndef FPDFSDK_FORMFILLER_CFFL_RADIOBUTTON_H_
8 #define FPDFSDK_FORMFILLER_CFFL_RADIOBUTTON_H_ 8 #define FPDFSDK_FORMFILLER_CFFL_RADIOBUTTON_H_
9 9
10 #include "fpdfsdk/formfiller/cffl_formfiller.h" 10 #include "fpdfsdk/formfiller/cffl_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(CPDFSDK_Environment* pApp, CPDFSDK_Annot* pAnnot); 14 CFFL_RadioButton(CPDFSDK_FormFillEnvironment* pApp, CPDFSDK_Annot* pAnnot);
15 ~CFFL_RadioButton() override; 15 ~CFFL_RadioButton() override;
16 16
17 // CFFL_Button 17 // CFFL_Button
18 CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, 18 CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp,
19 CPDFSDK_PageView* pPageView) override; 19 CPDFSDK_PageView* pPageView) override;
20 FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, 20 FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot,
21 uint32_t nKeyCode, 21 uint32_t nKeyCode,
22 uint32_t nFlags) override; 22 uint32_t nFlags) override;
23 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, 23 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot,
24 uint32_t nChar, 24 uint32_t nChar,
25 uint32_t nFlags) override; 25 uint32_t nFlags) override;
26 FX_BOOL OnLButtonUp(CPDFSDK_PageView* pPageView, 26 FX_BOOL OnLButtonUp(CPDFSDK_PageView* pPageView,
27 CPDFSDK_Annot* pAnnot, 27 CPDFSDK_Annot* pAnnot,
28 uint32_t nFlags, 28 uint32_t nFlags,
29 const CFX_FloatPoint& point) override; 29 const CFX_FloatPoint& point) override;
30 FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView) override; 30 FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView) override;
31 void SaveData(CPDFSDK_PageView* pPageView) override; 31 void SaveData(CPDFSDK_PageView* pPageView) override;
32 }; 32 };
33 33
34 #endif // FPDFSDK_FORMFILLER_CFFL_RADIOBUTTON_H_ 34 #endif // FPDFSDK_FORMFILLER_CFFL_RADIOBUTTON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698