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

Unified Diff: xfa/fwl/cfwl_form.h

Issue 2578603002: Remove unused sysbtn code (Closed)
Patch Set: Rebase to master 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 | « BUILD.gn ('k') | xfa/fwl/cfwl_form.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/cfwl_form.h
diff --git a/xfa/fwl/cfwl_form.h b/xfa/fwl/cfwl_form.h
index e89350ba3ba3ec68a39d9da4a8b511e66db1581c..4297fde86effcee0ebc500f415f8c3bb8dfce3d4 100644
--- a/xfa/fwl/cfwl_form.h
+++ b/xfa/fwl/cfwl_form.h
@@ -24,7 +24,6 @@ class CFWL_MessageMouse;
class CFWL_NoteLoop;
class CFWL_Widget;
class IFWL_ThemeProvider;
-class CFWL_SysBtn;
class CFWL_Form : public CFWL_Widget {
public:
@@ -52,40 +51,20 @@ class CFWL_Form : public CFWL_Widget {
private:
void DrawBackground(CFX_Graphics* pGraphics, IFWL_ThemeProvider* pTheme);
- void RemoveSysButtons();
- CFWL_SysBtn* GetSysBtnAtPoint(FX_FLOAT fx, FX_FLOAT fy);
- CFWL_SysBtn* GetSysBtnByState(uint32_t dwState);
- CFWL_SysBtn* GetSysBtnByIndex(int32_t nIndex);
- int32_t GetSysBtnIndex(CFWL_SysBtn* pBtn);
CFX_RectF GetEdgeRect();
void SetWorkAreaRect();
void Layout();
- void ResetSysBtn();
void RegisterForm();
void UnRegisterForm();
void OnLButtonDown(CFWL_MessageMouse* pMsg);
void OnLButtonUp(CFWL_MessageMouse* pMsg);
- void OnMouseMove(CFWL_MessageMouse* pMsg);
- void OnMouseLeave(CFWL_MessageMouse* pMsg);
-#if (_FX_OS_ == _FX_MACOSX_)
- bool m_bMouseIn;
-#endif
CFX_RectF m_rtRestore;
CFX_RectF m_rtRelative;
- CFWL_SysBtn* m_pCloseBox;
- CFWL_SysBtn* m_pMinBox;
- CFWL_SysBtn* m_pMaxBox;
std::unique_ptr<CFWL_NoteLoop> m_pNoteLoop;
CFWL_Widget* m_pSubFocus;
FX_FLOAT m_fCXBorder;
FX_FLOAT m_fCYBorder;
- int32_t m_iCaptureBtn;
- int32_t m_iSysBox;
- bool m_bLButtonDown;
- bool m_bMaximized;
- bool m_bSetMaximize;
- bool m_bDoModalFlag;
};
#endif // XFA_FWL_CFWL_FORM_H_
« no previous file with comments | « BUILD.gn ('k') | xfa/fwl/cfwl_form.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698