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

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

Issue 2506253004: Split fwl/core class pt I. (Closed)
Patch Set: Rebase to master 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
Index: xfa/fwl/core/ifwl_form.h
diff --git a/xfa/fwl/core/ifwl_form.h b/xfa/fwl/core/ifwl_form.h
index d4244d535474f8be8162bb40ef4c81aaa59eb29b..3c51ee3c0cb437a47e417db570dc2a685d6d25cd 100644
--- a/xfa/fwl/core/ifwl_form.h
+++ b/xfa/fwl/core/ifwl_form.h
@@ -28,33 +28,6 @@
#define FWL_UseMacSystemBorder
#endif
-#define FWL_SYSBUTTONSTATE_Hover 0x0001
-#define FWL_SYSBUTTONSTATE_Pressed 0x0002
-#define FWL_SYSBUTTONSTATE_Disabled 0x0010
-
-enum FWL_FORMSIZE {
- FWL_FORMSIZE_Manual = 0,
- FWL_FORMSIZE_Width,
- FWL_FORMSIZE_Height,
- FWL_FORMSIZE_All,
-};
-
-class CFWL_SysBtn {
- public:
- CFWL_SysBtn();
-
- bool IsDisabled() const;
- uint32_t GetPartState() const;
-
- void SetNormal();
- void SetPressed();
- void SetHover();
- void SetDisabled(bool bDisabled);
-
- CFX_RectF m_rtBtn;
- uint32_t m_dwState;
-};
-
enum FORM_RESIZETYPE {
FORM_RESIZETYPE_None = 0,
FORM_RESIZETYPE_Cap,

Powered by Google App Engine
This is Rietveld 408576698