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

Side by Side Diff: fpdfsdk/pdfwindow/PWL_Edit.h

Issue 2341693003: Cleanup CFX_SystemHandler. (Closed)
Patch Set: Review feedback Created 4 years, 3 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/pdfwindow/PWL_ComboBox.h ('k') | fpdfsdk/pdfwindow/PWL_ListBox.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_PDFWINDOW_PWL_EDIT_H_ 7 #ifndef FPDFSDK_PDFWINDOW_PWL_EDIT_H_
8 #define FPDFSDK_PDFWINDOW_PWL_EDIT_H_ 8 #define FPDFSDK_PDFWINDOW_PWL_EDIT_H_
9 9
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 m_pFillerNotify = pNotify; 103 m_pFillerNotify = pNotify;
104 } 104 }
105 105
106 void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, 106 void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder,
107 const CFX_FloatPoint& ptOffset, 107 const CFX_FloatPoint& ptOffset,
108 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray); 108 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray);
109 void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, 109 void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder,
110 const CFX_FloatPoint& ptOffset); 110 const CFX_FloatPoint& ptOffset);
111 111
112 FX_BOOL IsProceedtoOnChar(uint16_t nKeyCode, uint32_t nFlag); 112 FX_BOOL IsProceedtoOnChar(uint16_t nKeyCode, uint32_t nFlag);
113 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 113 void AttachFFLData(CFFL_FormFiller* pData) { m_pFormFiller = pData; }
114 114
115 void OnInsertWord(const CPVT_WordPlace& place, 115 void OnInsertWord(const CPVT_WordPlace& place,
116 const CPVT_WordPlace& oldplace); 116 const CPVT_WordPlace& oldplace);
117 void OnInsertReturn(const CPVT_WordPlace& place, 117 void OnInsertReturn(const CPVT_WordPlace& place,
118 const CPVT_WordPlace& oldplace); 118 const CPVT_WordPlace& oldplace);
119 void OnBackSpace(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace); 119 void OnBackSpace(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace);
120 void OnDelete(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace); 120 void OnDelete(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace);
121 void OnClear(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace); 121 void OnClear(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace);
122 void OnInsertText(const CPVT_WordPlace& place, 122 void OnInsertText(const CPVT_WordPlace& place,
123 const CPVT_WordPlace& oldplace); 123 const CPVT_WordPlace& oldplace);
(...skipping 11 matching lines...) Expand all
135 const CPVT_WordRange& wr2); 135 const CPVT_WordRange& wr2);
136 CPVT_WordRange GetLatinWordsRange(const CFX_FloatPoint& point) const; 136 CPVT_WordRange GetLatinWordsRange(const CFX_FloatPoint& point) const;
137 CPVT_WordRange GetLatinWordsRange(const CPVT_WordPlace& place) const; 137 CPVT_WordRange GetLatinWordsRange(const CPVT_WordPlace& place) const;
138 CPVT_WordRange GetArabicWordsRange(const CPVT_WordPlace& place) const; 138 CPVT_WordRange GetArabicWordsRange(const CPVT_WordPlace& place) const;
139 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place, 139 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place,
140 FX_BOOL bLatin, 140 FX_BOOL bLatin,
141 FX_BOOL bArabic) const; 141 FX_BOOL bArabic) const;
142 IPWL_Filler_Notify* m_pFillerNotify; 142 IPWL_Filler_Notify* m_pFillerNotify;
143 FX_BOOL m_bFocus; 143 FX_BOOL m_bFocus;
144 CFX_FloatRect m_rcOldWindow; 144 CFX_FloatRect m_rcOldWindow;
145 void* m_pFormFiller; 145 CFFL_FormFiller* m_pFormFiller; // Not owned.
146 }; 146 };
147 147
148 #endif // FPDFSDK_PDFWINDOW_PWL_EDIT_H_ 148 #endif // FPDFSDK_PDFWINDOW_PWL_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/pdfwindow/PWL_ComboBox.h ('k') | fpdfsdk/pdfwindow/PWL_ListBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698