summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fxet_edit.h
diff options
context:
space:
mode:
authorDiana Gage <drgage@google.com>2017-07-21 11:33:18 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-07-21 22:11:19 +0000
commit22bf7a5f796155ee3d1a4ea32e237a6d2034996d (patch)
tree04820b859411e0d5c45cbb238ac8b8266df53ea4 /fpdfsdk/fxedit/fxet_edit.h
parent06ac9c95c25289e84de7b13ae6264ce5ecb3b1a5 (diff)
downloadpdfium-22bf7a5f796155ee3d1a4ea32e237a6d2034996d.tar.xz
Change Clear() to ClearSelection().
This CL renames Clear() in CPWL_EditCtrl, CPWL_ComboBox, and CFX_Edit to ClearSelection(), as this function's behavior is clearing text selection. Change-Id: Ia32f5347abc1960d7219684942df6a3fede9936c Reviewed-on: https://pdfium-review.googlesource.com/8611 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Diana Gage <drgage@google.com>
Diffstat (limited to 'fpdfsdk/fxedit/fxet_edit.h')
-rw-r--r--fpdfsdk/fxedit/fxet_edit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fxedit/fxet_edit.h b/fpdfsdk/fxedit/fxet_edit.h
index fb64e0a401..bb5246226d 100644
--- a/fpdfsdk/fxedit/fxet_edit.h
+++ b/fpdfsdk/fxedit/fxet_edit.h
@@ -343,7 +343,7 @@ class CFX_Edit {
bool InsertReturn();
bool Backspace();
bool Delete();
- bool Clear();
+ bool ClearSelection();
bool InsertText(const CFX_WideString& sText, int32_t charset);
bool Redo();
bool Undo();