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

Unified Diff: xfa/fwl/core/ifwl_comboedit.h

Issue 2467993003: Merge delegates into IFWL_* classes. (Closed)
Patch Set: Add const version 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_comboboxproxy.cpp ('k') | xfa/fwl/core/ifwl_comboedit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/ifwl_comboedit.h
diff --git a/xfa/fwl/core/ifwl_comboedit.h b/xfa/fwl/core/ifwl_comboedit.h
index f4a529a186ad3644752897f819d3a5b18e2652b2..9c321d1cd429accefd0e45bcf7f9ff4e02784f2c 100644
--- a/xfa/fwl/core/ifwl_comboedit.h
+++ b/xfa/fwl/core/ifwl_comboedit.h
@@ -19,6 +19,9 @@ class IFWL_ComboEdit : public IFWL_Edit {
const CFWL_WidgetImpProperties& properties,
IFWL_Widget* pOuter);
+ // IFWL_Edit.
+ void OnProcessMessage(CFWL_Message* pMessage) override;
+
void ClearSelected();
void SetSelected();
void EndCaret();
@@ -27,16 +30,6 @@ class IFWL_ComboEdit : public IFWL_Edit {
protected:
void SetComboBoxFocus(FX_BOOL bSet);
IFWL_ComboBox* m_pOuter;
- friend class CFWL_ComboEditImpDelegate;
-};
-
-class CFWL_ComboEditImpDelegate : public CFWL_EditImpDelegate {
- public:
- CFWL_ComboEditImpDelegate(IFWL_ComboEdit* pOwner);
- void OnProcessMessage(CFWL_Message* pMessage) override;
-
- protected:
- IFWL_ComboEdit* m_pOwner;
};
#endif // XFA_FWL_CORE_IFWL_COMBOEDIT_H_
« no previous file with comments | « xfa/fwl/core/ifwl_comboboxproxy.cpp ('k') | xfa/fwl/core/ifwl_comboedit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698