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

Unified Diff: xfa/fwl/cfwl_listitem.h

Issue 2576483002: Remove unused CFWL_ListBox code (Closed)
Patch Set: Review feedback Created 4 years 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/cfwl_listbox.cpp ('k') | xfa/fwl/cfwl_listitem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/cfwl_listitem.h
diff --git a/xfa/fwl/cfwl_listitem.h b/xfa/fwl/cfwl_listitem.h
index c4af1d89b5672b56f85a3e3e98249b7aa4d91436..aac67fcb51fd491afb9bf1a78b1f3d8de2fcfac4 100644
--- a/xfa/fwl/cfwl_listitem.h
+++ b/xfa/fwl/cfwl_listitem.h
@@ -10,8 +10,6 @@
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_string.h"
-class CFX_DIBitmap;
-
class CFWL_ListItem {
public:
explicit CFWL_ListItem(const CFX_WideString& text);
@@ -20,18 +18,8 @@ class CFWL_ListItem {
CFX_RectF GetRect() const { return m_rtItem; }
void SetRect(const CFX_RectF& rect) { m_rtItem = rect; }
- uint32_t GetStyles() const { return m_dwStates; }
- void SetStyles(uint32_t dwStyle) { m_dwStates = dwStyle; }
-
- CFX_RectF GetCheckRect() const { return m_rtCheckBox; }
- void SetCheckRect(const CFX_RectF& rtCheck) { m_rtCheckBox = rtCheck; }
-
- uint32_t GetStates() const { return GetStyles() | GetCheckState(); }
-
- uint32_t GetCheckState() const { return m_dwCheckState; }
- void SetCheckState(uint32_t dwCheckState) { m_dwCheckState = dwCheckState; }
-
- CFX_DIBitmap* GetIcon() const { return m_pDIB; }
+ uint32_t GetStates() const { return m_dwStates; }
+ void SetStates(uint32_t dwStates) { m_dwStates = dwStates; }
CFX_WideString GetText() const { return m_wsText; }
@@ -39,9 +27,6 @@ class CFWL_ListItem {
CFX_RectF m_rtItem;
uint32_t m_dwStates;
CFX_WideString m_wsText;
- CFX_DIBitmap* m_pDIB;
- uint32_t m_dwCheckState;
- CFX_RectF m_rtCheckBox;
};
#endif // XFA_FWL_CFWL_LISTITEM_H_
« no previous file with comments | « xfa/fwl/cfwl_listbox.cpp ('k') | xfa/fwl/cfwl_listitem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698