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

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

Issue 2525083002: Rename IFWL classes which do not have CFWL equivalents (Closed)
Patch Set: 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/cfwl_comboedit.h ('k') | xfa/fwl/core/cfwl_combolist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_comboedit.cpp
diff --git a/xfa/fwl/core/ifwl_comboedit.cpp b/xfa/fwl/core/cfwl_comboedit.cpp
similarity index 86%
rename from xfa/fwl/core/ifwl_comboedit.cpp
rename to xfa/fwl/core/cfwl_comboedit.cpp
index 7d1260315cd6bfbc4762944ba8c8cac17dd1e8a8..2051daa78653a7b6a61591b281b36b561086009a 100644
--- a/xfa/fwl/core/ifwl_comboedit.cpp
+++ b/xfa/fwl/core/cfwl_comboedit.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fwl/core/ifwl_comboedit.h"
+#include "xfa/fwl/core/cfwl_comboedit.h"
#include <memory>
#include <utility>
@@ -13,7 +13,7 @@
#include "xfa/fwl/core/cfwl_msgmouse.h"
#include "xfa/fwl/core/ifwl_combobox.h"
-IFWL_ComboEdit::IFWL_ComboEdit(
+CFWL_ComboEdit::CFWL_ComboEdit(
const CFWL_App* app,
std::unique_ptr<CFWL_WidgetProperties> properties,
IFWL_Widget* pOuter)
@@ -21,18 +21,18 @@ IFWL_ComboEdit::IFWL_ComboEdit(
m_pOuter = static_cast<IFWL_ComboBox*>(pOuter);
}
-void IFWL_ComboEdit::ClearSelected() {
+void CFWL_ComboEdit::ClearSelected() {
ClearSelections();
Repaint(&GetRTClient());
}
-void IFWL_ComboEdit::SetSelected() {
+void CFWL_ComboEdit::SetSelected() {
FlagFocus(true);
GetTxtEdtEngine()->MoveCaretPos(MC_End);
AddSelRange(0);
}
-void IFWL_ComboEdit::FlagFocus(bool bSet) {
+void CFWL_ComboEdit::FlagFocus(bool bSet) {
if (bSet) {
m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused;
return;
@@ -42,7 +42,7 @@ void IFWL_ComboEdit::FlagFocus(bool bSet) {
ShowCaret(false);
}
-void IFWL_ComboEdit::OnProcessMessage(CFWL_Message* pMessage) {
+void CFWL_ComboEdit::OnProcessMessage(CFWL_Message* pMessage) {
if (!pMessage)
return;
« no previous file with comments | « xfa/fwl/core/cfwl_comboedit.h ('k') | xfa/fwl/core/cfwl_combolist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698