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

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

Issue 2144813002: Cleanup some PWL interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@ifx_cleanup
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') | fpdfsdk/pdfwindow/PWL_Edit.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_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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 559
560 int32_t GetTotalLines() const; 560 int32_t GetTotalLines() const;
561 561
562 private: 562 private:
563 friend class CFX_Edit_Iterator; 563 friend class CFX_Edit_Iterator;
564 friend class CFXEU_InsertWord; 564 friend class CFXEU_InsertWord;
565 friend class CFXEU_InsertReturn; 565 friend class CFXEU_InsertReturn;
566 friend class CFXEU_Backspace; 566 friend class CFXEU_Backspace;
567 friend class CFXEU_Delete; 567 friend class CFXEU_Delete;
568 friend class CFXEU_Clear; 568 friend class CFXEU_Clear;
569 friend class CFXEU_ClearRich;
570 friend class CFXEU_InsertText; 569 friend class CFXEU_InsertText;
571 570
572 void SetSel(const CPVT_WordPlace& begin, const CPVT_WordPlace& end); 571 void SetSel(const CPVT_WordPlace& begin, const CPVT_WordPlace& end);
573 572
574 void RearrangeAll(); 573 void RearrangeAll();
575 void RearrangePart(const CPVT_WordRange& range); 574 void RearrangePart(const CPVT_WordRange& range);
576 void ScrollToCaret(); 575 void ScrollToCaret();
577 void SetScrollInfo(); 576 void SetScrollInfo();
578 void SetScrollPosX(FX_FLOAT fx); 577 void SetScrollPosX(FX_FLOAT fx);
579 void SetScrollPosY(FX_FLOAT fy); 578 void SetScrollPosY(FX_FLOAT fy);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 int32_t charset, 703 int32_t charset,
705 int32_t nFontIndex) override; 704 int32_t nFontIndex) override;
706 int32_t GetDefaultFontIndex() override; 705 int32_t GetDefaultFontIndex() override;
707 FX_BOOL IsLatinWord(uint16_t word) override; 706 FX_BOOL IsLatinWord(uint16_t word) override;
708 707
709 private: 708 private:
710 IPVT_FontMap* m_pFontMap; 709 IPVT_FontMap* m_pFontMap;
711 }; 710 };
712 711
713 #endif // FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ 712 #endif // FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fxedit/fxet_edit.cpp ('k') | fpdfsdk/pdfwindow/PWL_Edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698