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

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

Issue 2530993002: Cleanup FWL Event and Message 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
Index: xfa/fwl/core/cfwl_evtscroll.h
diff --git a/xfa/fwl/core/cfwl_evtscroll.h b/xfa/fwl/core/cfwl_evtscroll.h
index d8da34e86dd0e91c77916e892385fb90092df68e..64ee7815f6c925e69d88e7378a93b2a426df27de 100644
--- a/xfa/fwl/core/cfwl_evtscroll.h
+++ b/xfa/fwl/core/cfwl_evtscroll.h
@@ -9,29 +9,26 @@
#include "xfa/fwl/core/cfwl_event.h"
-enum class FWL_SCBCODE {
- None = 1,
- Min,
- Max,
- PageBackward,
- PageForward,
- StepBackward,
- StepForward,
- Pos,
- TrackPos,
- EndScroll,
-};
-
class CFWL_EvtScroll : public CFWL_Event {
public:
- CFWL_EvtScroll();
+ enum class Code {
+ None = 1,
+ Min,
+ Max,
+ PageBackward,
+ PageForward,
+ StepBackward,
+ StepForward,
+ Pos,
+ TrackPos,
+ EndScroll,
+ };
+
+ explicit CFWL_EvtScroll(CFWL_Widget* pSrcTarget);
~CFWL_EvtScroll() override;
- CFWL_EventType GetClassID() const override;
-
- FWL_SCBCODE m_iScrollCode;
+ Code m_iScrollCode;
FX_FLOAT m_fPos;
- bool* m_pRet;
};
#endif // XFA_FWL_CORE_CFWL_EVTSCROLL_H_

Powered by Google App Engine
This is Rietveld 408576698