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

Unified Diff: xfa/fde/cfde_txtedtpage.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fde/cfde_txtedtengine.cpp ('k') | xfa/fde/cfde_txtedtpage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/cfde_txtedtpage.h
diff --git a/xfa/fde/cfde_txtedtpage.h b/xfa/fde/cfde_txtedtpage.h
index 777f82929e5a2c246df65d4f3432f9c475c22a82..5cb4501afc5486808def28b98c251db5bfaf708c 100644
--- a/xfa/fde/cfde_txtedtpage.h
+++ b/xfa/fde/cfde_txtedtpage.h
@@ -26,8 +26,8 @@ class CFDE_TxtEdtPage : public IFDE_TxtEdtPage {
CFDE_TxtEdtEngine* GetEngine() const override;
int32_t GetCharRect(int32_t nIndex,
CFX_RectF& rect,
- FX_BOOL bBBox = FALSE) const override;
- int32_t GetCharIndex(const CFX_PointF& fPoint, FX_BOOL& bBefore) override;
+ bool bBBox = false) const override;
+ int32_t GetCharIndex(const CFX_PointF& fPoint, bool& bBefore) override;
void CalcRangeRectArray(int32_t nStart,
int32_t nCount,
CFX_RectFArray& RectFArr) const override;
@@ -37,7 +37,7 @@ class CFDE_TxtEdtPage : public IFDE_TxtEdtPage {
int32_t GetDisplayPos(const CFX_RectF& rtClip,
FXTEXT_CHARPOS*& pCharPos,
CFX_RectF* pBBox) const override;
- FX_BOOL IsLoaded(const CFX_RectF* pClipBox) override;
+ bool IsLoaded(const CFX_RectF* pClipBox) override;
int32_t LoadPage(const CFX_RectF* pClipBox, IFX_Pause* pPause) override;
void UnloadPage(const CFX_RectF* pClipBox) override;
const CFX_RectF& GetContentsBox() override;
@@ -72,7 +72,7 @@ class CFDE_TxtEdtPage : public IFDE_TxtEdtPage {
int32_t m_nPageStart;
int32_t m_nCharCount;
int32_t m_nPageIndex;
- FX_BOOL m_bLoaded;
+ bool m_bLoaded;
CFX_RectF m_rtPage;
CFX_RectF m_rtPageMargin;
CFX_RectF m_rtPageContents;
« no previous file with comments | « xfa/fde/cfde_txtedtengine.cpp ('k') | xfa/fde/cfde_txtedtpage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698