summaryrefslogtreecommitdiff
path: root/xfa/fde/fde_iterator.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-13 10:16:05 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-13 15:46:47 +0000
commit575898e6251c1dbb8de0d40a5b6ce90762aa2af2 (patch)
treec9b30307e04200c2621bfd98e4152c47653efcb6 /xfa/fde/fde_iterator.h
parent068d34426272bd7f02ffc12139ddd33ee2e237e6 (diff)
downloadpdfium-575898e6251c1dbb8de0d40a5b6ce90762aa2af2.tar.xz
Remove some single use interfaces
Remove interfaces which are only implemented once. Change-Id: I73ceaa7bfd7ef2a630479c7eebed5e32ecb99940 Reviewed-on: https://pdfium-review.googlesource.com/2944 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/fde_iterator.h')
-rw-r--r--xfa/fde/fde_iterator.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa/fde/fde_iterator.h b/xfa/fde/fde_iterator.h
index a2cd931e39..3cd3a6fa19 100644
--- a/xfa/fde/fde_iterator.h
+++ b/xfa/fde/fde_iterator.h
@@ -12,8 +12,10 @@
#include "xfa/fde/fde_visualset.h"
#include "xfa/fgas/crt/fgas_utils.h"
+class CFDE_TxtEdtPage;
+
struct FDE_CANVASITEM {
- IFDE_CanvasSet* pCanvas;
+ CFDE_TxtEdtPage* pCanvas;
FDE_TEXTEDITPIECE* hCanvas;
FX_POSITION hPos;
};
@@ -23,13 +25,13 @@ class CFDE_VisualSetIterator {
CFDE_VisualSetIterator();
~CFDE_VisualSetIterator();
- bool AttachCanvas(IFDE_CanvasSet* pCanvas);
+ bool AttachCanvas(CFDE_TxtEdtPage* pCanvas);
bool FilterObjects(uint32_t dwObjects = 0xFFFFFFFF);
void Reset();
FDE_TEXTEDITPIECE* GetNext(IFDE_VisualSet*& pVisualSet,
FDE_TEXTEDITPIECE** phCanvasObj = nullptr,
- IFDE_CanvasSet** ppCanvasSet = nullptr);
+ CFDE_TxtEdtPage** ppCanvasSet = nullptr);
protected:
uint32_t m_dwFilter;