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

Side by Side Diff: xfa/fde/fde_visualset.h

Issue 2009253003: Clean up fx_ge.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nits Created 4 years, 6 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 | « xfa/fde/fde_gedevice.h ('k') | xfa/fde/ifde_txtedtpage.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 XFA_FDE_FDE_VISUALSET_H_ 7 #ifndef XFA_FDE_FDE_VISUALSET_H_
8 #define XFA_FDE_FDE_VISUALSET_H_ 8 #define XFA_FDE_FDE_VISUALSET_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_system.h" 11 #include "core/fxcrt/include/fx_system.h"
12 #include "core/fxge/include/fx_dib.h" 12 #include "core/fxge/include/fx_dib.h"
13 #include "core/fxge/include/fx_ge.h"
14 #include "xfa/fde/cfde_path.h" 13 #include "xfa/fde/cfde_path.h"
15 #include "xfa/fde/fde_object.h" 14 #include "xfa/fde/fde_object.h"
16 #include "xfa/fgas/crt/fgas_memory.h" 15 #include "xfa/fgas/crt/fgas_memory.h"
17 #include "xfa/fgas/font/fgas_font.h" 16 #include "xfa/fgas/font/fgas_font.h"
18 17
19 enum FDE_VISUALOBJTYPE { 18 enum FDE_VISUALOBJTYPE {
20 FDE_VISUALOBJ_Canvas = 0x00, 19 FDE_VISUALOBJ_Canvas = 0x00,
21 FDE_VISUALOBJ_Text = 0x01 20 FDE_VISUALOBJ_Text = 0x01
22 }; 21 };
23 22
(...skipping 27 matching lines...) Expand all
51 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0; 50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0;
52 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText, 51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText,
53 FXTEXT_CHARPOS* pCharPos, 52 FXTEXT_CHARPOS* pCharPos,
54 FX_BOOL bCharCode = FALSE, 53 FX_BOOL bCharCode = FALSE,
55 CFX_WideString* pWSForms = NULL) = 0; 54 CFX_WideString* pWSForms = NULL) = 0;
56 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText, 55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText,
57 CFX_RectFArray& rtArray) = 0; 56 CFX_RectFArray& rtArray) = 0;
58 }; 57 };
59 58
60 #endif // XFA_FDE_FDE_VISUALSET_H_ 59 #endif // XFA_FDE_FDE_VISUALSET_H_
OLDNEW
« no previous file with comments | « xfa/fde/fde_gedevice.h ('k') | xfa/fde/ifde_txtedtpage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698