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

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

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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_render.cpp ('k') | xfa/fde/ifde_txtedtdorecord.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/fx_coordinates.h" 10 #include "core/fxcrt/fx_coordinates.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 class IFDE_TextSet : public IFDE_VisualSet { 47 class IFDE_TextSet : public IFDE_VisualSet {
48 public: 48 public:
49 virtual int32_t GetString(FDE_TEXTEDITPIECE* hText, 49 virtual int32_t GetString(FDE_TEXTEDITPIECE* hText,
50 CFX_WideString& wsText) = 0; 50 CFX_WideString& wsText) = 0;
51 virtual CFGAS_GEFont* GetFont() = 0; 51 virtual CFGAS_GEFont* GetFont() = 0;
52 virtual FX_FLOAT GetFontSize() = 0; 52 virtual FX_FLOAT GetFontSize() = 0;
53 virtual FX_ARGB GetFontColor() = 0; 53 virtual FX_ARGB GetFontColor() = 0;
54 virtual int32_t GetDisplayPos(FDE_TEXTEDITPIECE* hText, 54 virtual int32_t GetDisplayPos(FDE_TEXTEDITPIECE* hText,
55 FXTEXT_CHARPOS* pCharPos, 55 FXTEXT_CHARPOS* pCharPos,
56 FX_BOOL bCharCode = FALSE, 56 bool bCharCode = false,
57 CFX_WideString* pWSForms = nullptr) = 0; 57 CFX_WideString* pWSForms = nullptr) = 0;
58 virtual int32_t GetCharRects(const FDE_TEXTEDITPIECE* hText, 58 virtual int32_t GetCharRects(const FDE_TEXTEDITPIECE* hText,
59 CFX_RectFArray& rtArray, 59 CFX_RectFArray& rtArray,
60 FX_BOOL bbox) = 0; 60 bool bbox) = 0;
61 }; 61 };
62 62
63 #endif // XFA_FDE_FDE_VISUALSET_H_ 63 #endif // XFA_FDE_FDE_VISUALSET_H_
OLDNEW
« no previous file with comments | « xfa/fde/fde_render.cpp ('k') | xfa/fde/ifde_txtedtdorecord.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698