Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: xfa/fwl/core/ifwl_edit.cpp

Issue 2498163002: Cleanup cfwl_* files. (Closed)
Patch Set: Review feedback Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_edit.h ('k') | xfa/fwl/core/ifwl_listbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/ifwl_edit.cpp
diff --git a/xfa/fwl/core/ifwl_edit.cpp b/xfa/fwl/core/ifwl_edit.cpp
index aa3fdcec39e5865a767ba038b8e2ed311e9258b7..55ee785845faaf0c076100bbd86a1c21a82a4d99 100644
--- a/xfa/fwl/core/ifwl_edit.cpp
+++ b/xfa/fwl/core/ifwl_edit.cpp
@@ -297,7 +297,7 @@ int32_t IFWL_Edit::GetTextLength() const {
void IFWL_Edit::GetText(CFX_WideString& wsText,
int32_t nStart,
- int32_t nCount) {
+ int32_t nCount) const {
m_EdtEngine.GetText(wsText, nStart, nCount);
}
@@ -309,11 +309,11 @@ void IFWL_Edit::AddSelRange(int32_t nStart, int32_t nCount) {
m_EdtEngine.AddSelRange(nStart, nCount);
}
-int32_t IFWL_Edit::CountSelRanges() {
+int32_t IFWL_Edit::CountSelRanges() const {
return m_EdtEngine.CountSelRanges();
}
-int32_t IFWL_Edit::GetSelRange(int32_t nIndex, int32_t& nStart) {
+int32_t IFWL_Edit::GetSelRange(int32_t nIndex, int32_t& nStart) const {
return m_EdtEngine.GetSelRange(nIndex, nStart);
}
@@ -321,7 +321,7 @@ void IFWL_Edit::ClearSelections() {
m_EdtEngine.ClearSelection();
}
-int32_t IFWL_Edit::GetLimit() {
+int32_t IFWL_Edit::GetLimit() const {
return m_nLimit;
}
« no previous file with comments | « xfa/fwl/core/ifwl_edit.h ('k') | xfa/fwl/core/ifwl_listbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698