summaryrefslogtreecommitdiff
path: root/xfa/fxfa/include/xfa_ffdocview.h
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-05-23 11:51:15 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-23 11:51:15 -0700
commit09e139e231d1a94bd99ac295f3d66cb26c54ea16 (patch)
tree75e41470f89d67ca938ca581d664e1f4b8c6a85d /xfa/fxfa/include/xfa_ffdocview.h
parent7ee2e53f741cc17f35a4fece5980e60fded93861 (diff)
downloadpdfium-09e139e231d1a94bd99ac295f3d66cb26c54ea16.tar.xz
Remove unused class CXFA_FFDocWidgetIterator
This class is not used anywhere. Also there are no implementation of its member functions except MoveToNext() function which was implemented wrong -- direct return in a while loop? BUG=pdfium:29 Review-Url: https://codereview.chromium.org/2007623002
Diffstat (limited to 'xfa/fxfa/include/xfa_ffdocview.h')
-rw-r--r--xfa/fxfa/include/xfa_ffdocview.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/xfa/fxfa/include/xfa_ffdocview.h b/xfa/fxfa/include/xfa_ffdocview.h
index 2117b91589..b8ff562940 100644
--- a/xfa/fxfa/include/xfa_ffdocview.h
+++ b/xfa/fxfa/include/xfa_ffdocview.h
@@ -52,7 +52,6 @@ class CXFA_FFDocView {
int32_t ProcessWidgetEvent(CXFA_EventParam* pParam,
CXFA_WidgetAcc* pWidgetAcc = nullptr);
CXFA_FFWidgetHandler* GetWidgetHandler();
- IXFA_WidgetIterator* CreateWidgetIterator();
CXFA_WidgetAccIterator* CreateWidgetAccIterator(
XFA_WIDGETORDER eOrder = XFA_WIDGETORDER_PreOrder);
CXFA_FFWidget* GetFocusWidget();
@@ -129,26 +128,6 @@ class CXFA_FFDocView {
friend class CXFA_FFNotify;
};
-class CXFA_FFDocWidgetIterator : public IXFA_WidgetIterator {
- public:
- CXFA_FFDocWidgetIterator(CXFA_FFDocView* pDocView, CXFA_Node* pTravelRoot);
- ~CXFA_FFDocWidgetIterator() override;
-
- // IXFA_WidgetIterator:
- void Reset() override;
- CXFA_FFWidget* MoveToFirst() override;
- CXFA_FFWidget* MoveToLast() override;
- CXFA_FFWidget* MoveToNext() override;
- CXFA_FFWidget* MoveToPrevious() override;
- CXFA_FFWidget* GetCurrentWidget() override;
- FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) override;
-
- protected:
- CXFA_ContainerIterator m_ContentIterator;
- CXFA_FFDocView* m_pDocView;
- CXFA_FFWidget* m_pCurWidget;
-};
-
class CXFA_WidgetAccIterator {
public:
CXFA_WidgetAccIterator(CXFA_FFDocView* pDocView, CXFA_Node* pTravelRoot);