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

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

Issue 1700183002: Remove CFX_PtrList from renderer main loop. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits. Created 4 years, 10 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/fxedit/fx_edit.h ('k') | fpdfsdk/src/fpdf_flatten.cpp » ('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_PDFWINDOW_PWL_EDIT_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
9 9
10 #include "core/include/fxcrt/fx_basic.h" 10 #include "core/include/fxcrt/fx_basic.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 FX_BOOL IsTextFull() const; 103 FX_BOOL IsTextFull() const;
104 104
105 static FX_FLOAT GetCharArrayAutoFontSize(CPDF_Font* pFont, 105 static FX_FLOAT GetCharArrayAutoFontSize(CPDF_Font* pFont,
106 const CPDF_Rect& rcPlate, 106 const CPDF_Rect& rcPlate,
107 int32_t nCharArray); 107 int32_t nCharArray);
108 108
109 void SetFillerNotify(IPWL_Filler_Notify* pNotify) { 109 void SetFillerNotify(IPWL_Filler_Notify* pNotify) {
110 m_pFillerNotify = pNotify; 110 m_pFillerNotify = pNotify;
111 } 111 }
112 112
113 void GeneratePageObjects(CPDF_PageObjectHolder* pPageObjects, 113 void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder,
114 const CPDF_Point& ptOffset, 114 const CPDF_Point& ptOffset,
115 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray); 115 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray);
116 void GeneratePageObjects(CPDF_PageObjectHolder* pPageObjects, 116 void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder,
117 const CPDF_Point& ptOffset); 117 const CPDF_Point& ptOffset);
118 118
119 protected: 119 protected:
120 // IFX_Edit_OprNotify 120 // IFX_Edit_OprNotify
121 void OnInsertWord(const CPVT_WordPlace& place, 121 void OnInsertWord(const CPVT_WordPlace& place,
122 const CPVT_WordPlace& oldplace) override; 122 const CPVT_WordPlace& oldplace) override;
123 void OnInsertReturn(const CPVT_WordPlace& place, 123 void OnInsertReturn(const CPVT_WordPlace& place,
124 const CPVT_WordPlace& oldplace) override; 124 const CPVT_WordPlace& oldplace) override;
125 void OnBackSpace(const CPVT_WordPlace& place, 125 void OnBackSpace(const CPVT_WordPlace& place,
126 const CPVT_WordPlace& oldplace) override; 126 const CPVT_WordPlace& oldplace) override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 CPDF_Rect m_rcOldWindow; 162 CPDF_Rect m_rcOldWindow;
163 163
164 public: 164 public:
165 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 165 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
166 166
167 private: 167 private:
168 void* m_pFormFiller; 168 void* m_pFormFiller;
169 }; 169 };
170 170
171 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 171 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fxedit/fx_edit.h ('k') | fpdfsdk/src/fpdf_flatten.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698