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

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

Issue 1923093002: Remove IFX_SystemHandler. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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_pageobjs.cpp ('k') | fpdfsdk/include/fsdk_baseannot.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_FX_EDIT_H_ 7 #ifndef FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_
8 #define FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_ 8 #define FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_
9 9
10 #include "core/fpdfdoc/include/cpdf_variabletext.h" 10 #include "core/fpdfdoc/include/cpdf_variabletext.h"
11 #include "core/fxcrt/include/fx_basic.h" 11 #include "core/fxcrt/include/fx_basic.h"
12 #include "core/fxge/include/fx_dib.h" 12 #include "core/fxge/include/fx_dib.h"
13 13
14 class CPDF_Font; 14 class CPDF_Font;
15 class CPDF_PageObjectHolder; 15 class CPDF_PageObjectHolder;
16 class CPDF_TextObject; 16 class CPDF_TextObject;
17 class CFX_FloatPoint; 17 class CFX_FloatPoint;
18 class CFX_Matrix; 18 class CFX_Matrix;
19 class CFX_RenderDevice; 19 class CFX_RenderDevice;
20 class CFX_SystemHandler;
20 class IFX_Edit; 21 class IFX_Edit;
21 class IPVT_FontMap; 22 class IPVT_FontMap;
22 class IFX_Edit_Iterator; 23 class IFX_Edit_Iterator;
23 class IFX_Edit_Notify; 24 class IFX_Edit_Notify;
24 class IFX_Edit_UndoItem; 25 class IFX_Edit_UndoItem;
25 class IFX_List; 26 class IFX_List;
26 class IFX_List_Notify; 27 class IFX_List_Notify;
27 class IFX_SystemHandler;
28 28
29 struct CPVT_Line; 29 struct CPVT_Line;
30 struct CPVT_SecProps; 30 struct CPVT_SecProps;
31 struct CPVT_Section; 31 struct CPVT_Section;
32 struct CPVT_Word; 32 struct CPVT_Word;
33 struct CPVT_WordPlace; 33 struct CPVT_WordPlace;
34 struct CPVT_WordProps; 34 struct CPVT_WordProps;
35 struct CPVT_WordRange; 35 struct CPVT_WordRange;
36 36
37 #define PVTWORD_STYLE_NORMAL 0x0000L 37 #define PVTWORD_STYLE_NORMAL 0x0000L
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 const CFX_FloatPoint& ptOffset, 488 const CFX_FloatPoint& ptOffset,
489 const CPVT_WordRange* pRange = NULL); 489 const CPVT_WordRange* pRange = NULL);
490 static void DrawEdit(CFX_RenderDevice* pDevice, 490 static void DrawEdit(CFX_RenderDevice* pDevice,
491 CFX_Matrix* pUser2Device, 491 CFX_Matrix* pUser2Device,
492 IFX_Edit* pEdit, 492 IFX_Edit* pEdit,
493 FX_COLORREF crTextFill, 493 FX_COLORREF crTextFill,
494 FX_COLORREF crTextStroke, 494 FX_COLORREF crTextStroke,
495 const CFX_FloatRect& rcClip, 495 const CFX_FloatRect& rcClip,
496 const CFX_FloatPoint& ptOffset, 496 const CFX_FloatPoint& ptOffset,
497 const CPVT_WordRange* pRange, 497 const CPVT_WordRange* pRange,
498 IFX_SystemHandler* pSystemHandler, 498 CFX_SystemHandler* pSystemHandler,
499 void* pFFLData); 499 void* pFFLData);
500 static void DrawUnderline(CFX_RenderDevice* pDevice, 500 static void DrawUnderline(CFX_RenderDevice* pDevice,
501 CFX_Matrix* pUser2Device, 501 CFX_Matrix* pUser2Device,
502 IFX_Edit* pEdit, 502 IFX_Edit* pEdit,
503 FX_COLORREF color, 503 FX_COLORREF color,
504 const CFX_FloatRect& rcClip, 504 const CFX_FloatRect& rcClip,
505 const CFX_FloatPoint& ptOffset, 505 const CFX_FloatPoint& ptOffset,
506 const CPVT_WordRange* pRange); 506 const CPVT_WordRange* pRange);
507 static void DrawRichEdit(CFX_RenderDevice* pDevice, 507 static void DrawRichEdit(CFX_RenderDevice* pDevice,
508 CFX_Matrix* pUser2Device, 508 CFX_Matrix* pUser2Device,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 protected: 620 protected:
621 virtual ~IFX_List() {} 621 virtual ~IFX_List() {}
622 }; 622 };
623 623
624 CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap, 624 CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap,
625 int32_t nFontIndex, 625 int32_t nFontIndex,
626 uint16_t Word, 626 uint16_t Word,
627 uint16_t SubWord); 627 uint16_t SubWord);
628 628
629 #endif // FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_ 629 #endif // FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fxedit/fxet_pageobjs.cpp ('k') | fpdfsdk/include/fsdk_baseannot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698