summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdocview.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-04 13:40:07 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-04 18:58:11 +0000
commit4a1de7211af344f6acc784f4fe346ef8c8da7bd1 (patch)
tree563ae3e7eda4a4d440e0c2246319e385f96948b9 /xfa/fxfa/cxfa_ffdocview.h
parentc1e5756a43020665855d9d309c47b9dfe625b54f (diff)
downloadpdfium-4a1de7211af344f6acc784f4fe346ef8c8da7bd1.tar.xz
Change CXFA_WidgetAcc::GetNextWidget to not require the FFDocView
This CL changes GetNextWidget to assume that a valid parameter is passed to the method. For callers which passed nullptr, we change to get a vaild initial widget from the doc view directly. Change-Id: I50c06082831645f62339ade59d5026f546e07840 Reviewed-on: https://pdfium-review.googlesource.com/22254 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdocview.h')
-rw-r--r--xfa/fxfa/cxfa_ffdocview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_ffdocview.h b/xfa/fxfa/cxfa_ffdocview.h
index fcaa7162dd..5c8f0176d8 100644
--- a/xfa/fxfa/cxfa_ffdocview.h
+++ b/xfa/fxfa/cxfa_ffdocview.h
@@ -62,6 +62,7 @@ class CXFA_FFDocView {
CXFA_FFWidget* GetFocusWidget() const { return m_pFocusWidget.Get(); }
void KillFocus();
bool SetFocus(CXFA_FFWidget* hWidget);
+ CXFA_FFWidget* GetWidgetForNode(CXFA_Node* node);
CXFA_FFWidget* GetWidgetByName(const WideString& wsName,
CXFA_FFWidget* pRefWidget);
CXFA_WidgetAcc* GetWidgetAccByName(const WideString& wsName,