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

Side by Side Diff: fpdfsdk/fxedit/include/fxet_edit.h

Issue 2148353002: Remove CFX_Edit_Refresh::Analyse (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@ifx_cleanup_4
Patch Set: Rebase to master Created 4 years, 5 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/fxedit/fxet_edit.cpp ('k') | no next file » | 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_FXEDIT_INCLUDE_FXET_EDIT_H_ 7 #ifndef FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_
8 #define FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ 8 #define FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 }; 111 };
112 112
113 class CFX_Edit_Refresh { 113 class CFX_Edit_Refresh {
114 public: 114 public:
115 CFX_Edit_Refresh(); 115 CFX_Edit_Refresh();
116 virtual ~CFX_Edit_Refresh(); 116 virtual ~CFX_Edit_Refresh();
117 117
118 void BeginRefresh(); 118 void BeginRefresh();
119 void Push(const CPVT_WordRange& linerange, const CFX_FloatRect& rect); 119 void Push(const CPVT_WordRange& linerange, const CFX_FloatRect& rect);
120 void NoAnalyse(); 120 void NoAnalyse();
121 void Analyse(int32_t nAlignment);
122 void AddRefresh(const CFX_FloatRect& rect); 121 void AddRefresh(const CFX_FloatRect& rect);
123 const CFX_Edit_RectArray* GetRefreshRects() const; 122 const CFX_Edit_RectArray* GetRefreshRects() const;
124 void EndRefresh(); 123 void EndRefresh();
125 124
126 private: 125 private:
127 CFX_Edit_LineRectArray m_NewLineRects; 126 CFX_Edit_LineRectArray m_NewLineRects;
128 CFX_Edit_LineRectArray m_OldLineRects; 127 CFX_Edit_LineRectArray m_OldLineRects;
129 CFX_Edit_RectArray m_RefreshRects; 128 CFX_Edit_RectArray m_RefreshRects;
130 }; 129 };
131 130
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 int32_t charset, 702 int32_t charset,
704 int32_t nFontIndex) override; 703 int32_t nFontIndex) override;
705 int32_t GetDefaultFontIndex() override; 704 int32_t GetDefaultFontIndex() override;
706 FX_BOOL IsLatinWord(uint16_t word) override; 705 FX_BOOL IsLatinWord(uint16_t word) override;
707 706
708 private: 707 private:
709 IPVT_FontMap* m_pFontMap; 708 IPVT_FontMap* m_pFontMap;
710 }; 709 };
711 710
712 #endif // FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ 711 #endif // FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fxedit/fxet_edit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698