summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_edit.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-20 16:21:31 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-21 13:29:50 +0000
commitb8777a2c5f38ea4d6fc74ea01a114d3e056c0fdb (patch)
tree83acc47e45d932146a70941b7484e78c426b3b27 /xfa/fwl/cfwl_edit.h
parent36eed87d19e741be9909500c45dd12e50ff6a1ab (diff)
downloadpdfium-b8777a2c5f38ea4d6fc74ea01a114d3e056c0fdb.tar.xz
Add embeddertest for CFWL_Edit
This CL adds two mouse selection tests for CFWL_Edit. In order to do so the needed selection code was added to the XFA widget handler and plumbed down to the CFWL_Edit field as needed. Bug: pdfium:840 Change-Id: Ia3b5f5d191494a4579c01524df8fb35b24cc0085 Reviewed-on: https://pdfium-review.googlesource.com/14530 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_edit.h')
-rw-r--r--xfa/fwl/cfwl_edit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/cfwl_edit.h b/xfa/fwl/cfwl_edit.h
index cfebb25146..b7c252668b 100644
--- a/xfa/fwl/cfwl_edit.h
+++ b/xfa/fwl/cfwl_edit.h
@@ -142,7 +142,7 @@ class CFWL_Edit : public CFWL_Widget, public CFDE_TextEditEngine::Delegate {
void SetCursorPosition(size_t position);
void UpdateCursorRect();
- void DoButtonDown(CFWL_MessageMouse* pMsg);
+ void DoRButtonDown(CFWL_MessageMouse* pMsg);
void OnFocusChanged(CFWL_Message* pMsg, bool bSet);
void OnLButtonDown(CFWL_MessageMouse* pMsg);
void OnLButtonUp(CFWL_MessageMouse* pMsg);