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

Unified Diff: fpdfsdk/pdfwindow/PWL_Caret.h

Issue 2453683011: Remove FX_BOOL from fpdfsdk. (Closed)
Patch Set: Regenerate patch after rebase. 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 | « fpdfsdk/pdfwindow/PWL_Button.cpp ('k') | fpdfsdk/pdfwindow/PWL_Caret.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/pdfwindow/PWL_Caret.h
diff --git a/fpdfsdk/pdfwindow/PWL_Caret.h b/fpdfsdk/pdfwindow/PWL_Caret.h
index 2f5c87639ea2442ff80af14cde00924971b03d8e..ccee96109efe0717d43833cb5b3b23ec1c93789b 100644
--- a/fpdfsdk/pdfwindow/PWL_Caret.h
+++ b/fpdfsdk/pdfwindow/PWL_Caret.h
@@ -11,9 +11,9 @@
struct PWL_CARET_INFO {
public:
- PWL_CARET_INFO() : bVisible(FALSE) {}
+ PWL_CARET_INFO() : bVisible(false) {}
- FX_BOOL bVisible;
+ bool bVisible;
CFX_FloatPoint ptHead;
CFX_FloatPoint ptFoot;
};
@@ -29,10 +29,10 @@ class CPWL_Caret : public CPWL_Wnd {
void DrawThisAppearance(CFX_RenderDevice* pDevice,
CFX_Matrix* pUser2Device) override;
void InvalidateRect(CFX_FloatRect* pRect = nullptr) override;
- void SetVisible(FX_BOOL bVisible) override {}
+ void SetVisible(bool bVisible) override {}
void TimerProc() override;
- void SetCaret(FX_BOOL bVisible,
+ void SetCaret(bool bVisible,
const CFX_FloatPoint& ptHead,
const CFX_FloatPoint& ptFoot);
CFX_ByteString GetCaretAppearanceStream(const CFX_FloatPoint& ptOffset);
@@ -42,7 +42,7 @@ class CPWL_Caret : public CPWL_Wnd {
void GetCaretApp(CFX_ByteTextBuf& sAppStream, const CFX_FloatPoint& ptOffset);
CFX_FloatRect GetCaretRect() const;
- FX_BOOL m_bFlash;
+ bool m_bFlash;
CFX_FloatPoint m_ptHead;
CFX_FloatPoint m_ptFoot;
FX_FLOAT m_fWidth;
« no previous file with comments | « fpdfsdk/pdfwindow/PWL_Button.cpp ('k') | fpdfsdk/pdfwindow/PWL_Caret.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698