summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_edit.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-15 12:33:06 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-15 12:33:06 -0800
commit38eaf4b11383e24a00192132b683cc07e38622a6 (patch)
tree169f9d48784035519ddee9191aa412cc817a4531 /xfa/fwl/core/ifwl_edit.h
parent05b9a317d66c29f740e4b0e89ea87143a11d61fc (diff)
downloadpdfium-38eaf4b11383e24a00192132b683cc07e38622a6.tar.xz
Cleanup cfwl_* files.
This Cl cleans up the visibility, method usage and return values in the remaining CFWL files. Review-Url: https://codereview.chromium.org/2498163002
Diffstat (limited to 'xfa/fwl/core/ifwl_edit.h')
-rw-r--r--xfa/fwl/core/ifwl_edit.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/xfa/fwl/core/ifwl_edit.h b/xfa/fwl/core/ifwl_edit.h
index 65c660332d..2acc3856d4 100644
--- a/xfa/fwl/core/ifwl_edit.h
+++ b/xfa/fwl/core/ifwl_edit.h
@@ -116,14 +116,16 @@ class IFWL_Edit : public IFWL_Widget {
virtual void SetText(const CFX_WideString& wsText);
int32_t GetTextLength() const;
- void GetText(CFX_WideString& wsText, int32_t nStart = 0, int32_t nCount = -1);
+ void GetText(CFX_WideString& wsText,
+ int32_t nStart = 0,
+ int32_t nCount = -1) const;
void ClearText();
void AddSelRange(int32_t nStart, int32_t nCount = -1);
- int32_t CountSelRanges();
- int32_t GetSelRange(int32_t nIndex, int32_t& nStart);
+ int32_t CountSelRanges() const;
+ int32_t GetSelRange(int32_t nIndex, int32_t& nStart) const;
void ClearSelections();
- int32_t GetLimit();
+ int32_t GetLimit() const;
void SetLimit(int32_t nLimit);
void SetAliasChar(FX_WCHAR wAlias);
bool Copy(CFX_WideString& wsCopy);