diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:41:04 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:41:04 -0800 |
commit | d794d34b5deb6ad691c19af758090f9ce46015a3 (patch) | |
tree | 2cf3a108d472bf8ef6989e6883aa553dd6ba0afe /fpdfsdk/src/pdfwindow/PWL_Caret.cpp | |
parent | dbfaa8d11404a53b4807b3dbd0185047367bbff6 (diff) | |
download | pdfium-d794d34b5deb6ad691c19af758090f9ce46015a3.tar.xz |
Remove header files that only have includes.
Also do some cleanups in affected files.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1552583002 .
Diffstat (limited to 'fpdfsdk/src/pdfwindow/PWL_Caret.cpp')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Caret.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_Caret.cpp b/fpdfsdk/src/pdfwindow/PWL_Caret.cpp index d129c2c7d3..75c951068a 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Caret.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Caret.cpp @@ -4,17 +4,12 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#include "fpdfsdk/include/pdfwindow/PDFWindow.h" #include "fpdfsdk/include/pdfwindow/PWL_Caret.h" #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" #define PWL_CARET_FLASHINTERVAL 500 -////////////////////////////////////////////////////////////////////// -// Construction/Destruction -////////////////////////////////////////////////////////////////////// - CPWL_Caret::CPWL_Caret() : m_bFlash(FALSE), m_ptHead(0, 0), @@ -125,7 +120,6 @@ void CPWL_Caret::SetCaret(FX_BOOL bVisible, m_ptFoot = ptFoot; m_bFlash = TRUE; - // Move(GetCaretRect(),FALSE,TRUE); Move(m_rcInvalid, FALSE, TRUE); } } else { @@ -138,7 +132,6 @@ void CPWL_Caret::SetCaret(FX_BOOL bVisible, CPWL_Wnd::SetVisible(TRUE); m_bFlash = TRUE; - // Move(GetCaretRect(),FALSE,TRUE); Move(m_rcInvalid, FALSE, TRUE); } } else { @@ -160,6 +153,7 @@ void CPWL_Caret::InvalidateRect(CPDF_Rect* pRect) { rcRefresh.bottom -= 1; CPWL_Wnd::InvalidateRect(&rcRefresh); - } else + } else { CPWL_Wnd::InvalidateRect(pRect); + } } |