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

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

Issue 453133004: clang-format all code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 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
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 #if !defined(_FFL_NOTIFY_H_) 7 #if !defined(_FFL_NOTIFY_H_)
8 #define _FFL_NOTIFY_H_ 8 #define _FFL_NOTIFY_H_
9 9
10 class CFFL_FormFiller; 10 class CFFL_FormFiller;
11 11
12 class CFFL_Notify 12 class CFFL_Notify {
13 { 13 public:
14 public: 14 CFFL_Notify(CFFL_FormFiller* pFormFiller);
15 » CFFL_Notify(CFFL_FormFiller * pFormFiller);» 15 virtual ~CFFL_Notify();
16 » virtual ~CFFL_Notify();
17 16
18 public: 17 public:
19 » FX_BOOL»» » » » » » » » OnSetFocus(FX_BOOL & bExit); 18 FX_BOOL OnSetFocus(FX_BOOL& bExit);
20 » FX_BOOL»» » » » » » » » OnMouseEnter(FX_BOOL & bExit); 19 FX_BOOL OnMouseEnter(FX_BOOL& bExit);
21 » FX_BOOL»» » » » » » » » OnMouseDown(FX_BOOL & bExit); 20 FX_BOOL OnMouseDown(FX_BOOL& bExit);
22 » FX_BOOL»» » » » » » » » OnMouseUp(FX_BOOL & bExit);» 21 FX_BOOL OnMouseUp(FX_BOOL& bExit);
23 » FX_BOOL»» » » » » » » » OnMouseExit(FX_BOOL & bExit);» 22 FX_BOOL OnMouseExit(FX_BOOL& bExit);
24 » FX_BOOL»» » » » » » » » OnKillFocus(FX_BOOL & bExit); 23 FX_BOOL OnKillFocus(FX_BOOL& bExit);
25 24
26 » FX_BOOL»» » » » » » » » OnCalculate(); 25 FX_BOOL OnCalculate();
27 » FX_BOOL»» » » » » » » » OnFormat(int iCommitKey); 26 FX_BOOL OnFormat(int iCommitKey);
28 » FX_BOOL»» » » » » » » » OnValidate(CPDF_FormField* pFormField, CFX_WideString& strValue, CFX_WideString & strChange, 27 FX_BOOL OnValidate(CPDF_FormField* pFormField,
29 » » » » » » » » » » » const CFX_WideString& strChangeEx, FX_BOOL bKeyDown, FX_BOOL bModifie r, 28 CFX_WideString& strValue,
30 » » » » » » » » » » » FX_BOOL bShift, FX_BOOL & bRC); 29 CFX_WideString& strChange,
31 » FX_BOOL»» » » » » » » » OnKeyStroke(CPDF_FormField* pFormField, int nCommitKey, CFX_WideString& strValue , CFX_WideString& strChange, 30 const CFX_WideString& strChangeEx,
32 » » » » » » » » » » » const CFX_WideString& strChangeEx, FX_BOOL bKeyDown, FX_BOOL bModifie r, 31 FX_BOOL bKeyDown,
33 » » » » » » » » » » » FX_BOOL bShift, FX_BOOL bWillCommit, FX_BOOL bFieldFull, 32 FX_BOOL bModifier,
34 » » » » » » » » » » » int& nSelStart, int& nSelEnd, FX_BOOL& bRC); 33 FX_BOOL bShift,
34 FX_BOOL& bRC);
35 FX_BOOL OnKeyStroke(CPDF_FormField* pFormField,
36 int nCommitKey,
37 CFX_WideString& strValue,
38 CFX_WideString& strChange,
39 const CFX_WideString& strChangeEx,
40 FX_BOOL bKeyDown,
41 FX_BOOL bModifier,
42 FX_BOOL bShift,
43 FX_BOOL bWillCommit,
44 FX_BOOL bFieldFull,
45 int& nSelStart,
46 int& nSelEnd,
47 FX_BOOL& bRC);
35 48
36 » void» » » » » » » » » BeforeNotify(); 49 void BeforeNotify();
37 » void» » » » » » » » » AfterNotify(); 50 void AfterNotify();
38 » FX_BOOL»» » » » » » » » IsNotifying() const {return m_nNotifyFlag > 0;} 51 FX_BOOL IsNotifying() const { return m_nNotifyFlag > 0; }
39 52
40 private: 53 private:
41 //» CReader_InterForm *» » » » » » GetReade rInterForm(); 54 //» CReader_InterForm *
42 » FX_BOOL»» » » » » » » » DoAAction(CPDF_AAction::AActionType eAAT, FX_BOOL & bExit); 55 //GetReaderInterForm();
43 » FX_BOOL»» » » » » » » » FindAAction(CPDF_AAction::AActionType eAAT,CPDF_Action & action); 56 FX_BOOL DoAAction(CPDF_AAction::AActionType eAAT, FX_BOOL& bExit);
44 » FX_BOOL»» » » » » » » » FindAAction(CPDF_AAction aaction,CPDF_AAction::AActionType eAAT,CPDF_Action & ac tion); 57 FX_BOOL FindAAction(CPDF_AAction::AActionType eAAT, CPDF_Action& action);
45 » FX_BOOL»» » » » » » » » ExecuteActionTree(CPDF_AAction::AActionType eAAT, CPDF_Action & action, FX_BOOL& bExit); 58 FX_BOOL FindAAction(CPDF_AAction aaction,
46 » FX_BOOL»» » » » » » » » ExecuteAction(CPDF_AAction::AActionType eAAT,CPDF_Action & action,FX_BOOL& bExit ); 59 CPDF_AAction::AActionType eAAT,
60 CPDF_Action& action);
61 FX_BOOL ExecuteActionTree(CPDF_AAction::AActionType eAAT,
62 CPDF_Action& action,
63 FX_BOOL& bExit);
64 FX_BOOL ExecuteAction(CPDF_AAction::AActionType eAAT,
65 CPDF_Action& action,
66 FX_BOOL& bExit);
47 67
48 » FX_BOOL»» » » » » » » » m_bDoActioning; 68 FX_BOOL m_bDoActioning;
49 » FX_INT32» » » » » » » » m_nNotifyFlag; 69 FX_INT32 m_nNotifyFlag;
50 }; 70 };
51 71
52 #endif 72 #endif
53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698