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

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

Issue 1066253002: Fix IWYU in formfiller/ directory. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Tidy. Created 5 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 | « fpdfsdk/include/formfiller/FFL_ListBox.h ('k') | fpdfsdk/include/formfiller/FFL_PushButton.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 #if !defined(_FFL_NOTIFY_H_) 7 #ifndef _FFL_NOTIFY_H_
8 #define _FFL_NOTIFY_H_ 8 #define _FFL_NOTIFY_H_
9 9
10 #include "../../../core/include/fpdfdoc/fpdf_doc.h"
11 #include "../../../core/include/fxcrt/fx_string.h"
12
10 class CFFL_FormFiller; 13 class CFFL_FormFiller;
14 class CPDF_FormField;
11 15
12 class CFFL_Notify 16 class CFFL_Notify
13 { 17 {
14 public: 18 public:
15 CFFL_Notify(CFFL_FormFiller * pFormFiller); 19 CFFL_Notify(CFFL_FormFiller * pFormFiller);
16 virtual ~CFFL_Notify(); 20 virtual ~CFFL_Notify();
17 21
18 public: 22 public:
19 FX_BOOL OnSetFocus(FX_BOOL & bExit); 23 FX_BOOL OnSetFocus(FX_BOOL & bExit);
20 FX_BOOL OnMouseEnter(FX_BOOL & bExit); 24 FX_BOOL OnMouseEnter(FX_BOOL & bExit);
(...skipping 10 matching lines...) Expand all
31 FX_BOOL OnKeyStroke(CPDF_FormField* pFormField, int nCommitKey, CFX_WideString& strValue , CFX_WideString& strChange, 35 FX_BOOL OnKeyStroke(CPDF_FormField* pFormField, int nCommitKey, CFX_WideString& strValue , CFX_WideString& strChange,
32 const CFX_WideString& strChangeEx, FX_BOOL bKeyDown, FX_BOOL bModifie r, 36 const CFX_WideString& strChangeEx, FX_BOOL bKeyDown, FX_BOOL bModifie r,
33 FX_BOOL bShift, FX_BOOL bWillCommit, FX_BOOL bFieldFull, 37 FX_BOOL bShift, FX_BOOL bWillCommit, FX_BOOL bFieldFull,
34 int& nSelStart, int& nSelEnd, FX_BOOL& bRC); 38 int& nSelStart, int& nSelEnd, FX_BOOL& bRC);
35 39
36 void BeforeNotify(); 40 void BeforeNotify();
37 void AfterNotify(); 41 void AfterNotify();
38 FX_BOOL IsNotifying() const {return m_nNotifyFlag > 0;} 42 FX_BOOL IsNotifying() const {return m_nNotifyFlag > 0;}
39 43
40 private: 44 private:
41 // CReader_InterForm * GetReade rInterForm();
42 FX_BOOL DoAAction(CPDF_AAction::AActionType eAAT, FX_BOOL & bExit); 45 FX_BOOL DoAAction(CPDF_AAction::AActionType eAAT, FX_BOOL & bExit);
43 FX_BOOL FindAAction(CPDF_AAction::AActionType eAAT,CPDF_Action & action); 46 FX_BOOL FindAAction(CPDF_AAction::AActionType eAAT,CPDF_Action & action);
44 FX_BOOL FindAAction(CPDF_AAction aaction,CPDF_AAction::AActionType eAAT,CPDF_Action & ac tion); 47 FX_BOOL FindAAction(CPDF_AAction aaction,CPDF_AAction::AActionType eAAT,CPDF_Action & ac tion);
45 FX_BOOL ExecuteActionTree(CPDF_AAction::AActionType eAAT, CPDF_Action & action, FX_BOOL& bExit); 48 FX_BOOL ExecuteActionTree(CPDF_AAction::AActionType eAAT, CPDF_Action & action, FX_BOOL& bExit);
46 FX_BOOL ExecuteAction(CPDF_AAction::AActionType eAAT,CPDF_Action & action,FX_BOOL& bExit ); 49 FX_BOOL ExecuteAction(CPDF_AAction::AActionType eAAT,CPDF_Action & action,FX_BOOL& bExit );
47 50
48 FX_BOOL m_bDoActioning; 51 FX_BOOL m_bDoActioning;
49 FX_INT32 m_nNotifyFlag; 52 FX_INT32 m_nNotifyFlag;
50 }; 53 };
51 54
52 #endif 55 #endif
53 56
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_ListBox.h ('k') | fpdfsdk/include/formfiller/FFL_PushButton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698