diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-17 15:12:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-17 15:12:58 +0000 |
commit | a4c7ac479d291fc3373b9c2f8f25302ecd53b0d5 (patch) | |
tree | 6403f92adcae02ef51897ad932ffc585c2422655 /xfa/fxfa/cxfa_ffwidgethandler.h | |
parent | 3900ddb64f30f36fd6696bd2927cf8f151e6ede9 (diff) | |
download | pdfium-a4c7ac479d291fc3373b9c2f8f25302ecd53b0d5.tar.xz |
Implement FORM_GetFocusedText() API.
If there is a focused form field, get its text.
BUG=chromium:753216
Change-Id: I05294f14d05c1c86769055f6c9eaf9177787d9fd
Reviewed-on: https://pdfium-review.googlesource.com/12072
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffwidgethandler.h')
-rw-r--r-- | xfa/fxfa/cxfa_ffwidgethandler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_ffwidgethandler.h b/xfa/fxfa/cxfa_ffwidgethandler.h index 378a442409..ba6a5a26ca 100644 --- a/xfa/fxfa/cxfa_ffwidgethandler.h +++ b/xfa/fxfa/cxfa_ffwidgethandler.h @@ -54,6 +54,7 @@ class CXFA_FFWidgetHandler { uint32_t dwFlags, const CFX_PointF& point); + WideString GetText(CXFA_FFWidget* widget); WideString GetSelectedText(CXFA_FFWidget* widget); void PasteText(CXFA_FFWidget* widget, const WideString& text); |