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

Side by Side Diff: xfa/fwl/core/ifwl_form.h

Issue 2505703003: Cleaning up nits in fwl/core files. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FWL_CORE_IFWL_FORM_H_ 7 #ifndef XFA_FWL_CORE_IFWL_FORM_H_
8 #define XFA_FWL_CORE_IFWL_FORM_H_ 8 #define XFA_FWL_CORE_IFWL_FORM_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 struct RestoreInfo { 63 struct RestoreInfo {
64 RestoreInfo(); 64 RestoreInfo();
65 ~RestoreInfo(); 65 ~RestoreInfo();
66 66
67 CFX_PointF m_ptStart; 67 CFX_PointF m_ptStart;
68 CFX_SizeF m_szStart; 68 CFX_SizeF m_szStart;
69 }; 69 };
70 70
71 class CFWL_MsgMouse; 71 class CFWL_MsgMouse;
72 class CFWL_MsgClose;
73 class CFWL_MsgWindowMove;
74 class CFWL_NoteLoop; 72 class CFWL_NoteLoop;
75 class IFWL_Widget; 73 class IFWL_Widget;
76 class IFWL_ThemeProvider; 74 class IFWL_ThemeProvider;
77 class CFWL_SysBtn; 75 class CFWL_SysBtn;
78 76
79 class IFWL_FormDP : public IFWL_DataProvider { 77 class IFWL_FormDP : public IFWL_DataProvider {
80 public: 78 public:
81 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, bool bBig) = 0; 79 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, bool bBig) = 0;
82 }; 80 };
83 81
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 void UnRegisterForm(); 127 void UnRegisterForm();
130 void SetThemeData(); 128 void SetThemeData();
131 bool HasIcon(); 129 bool HasIcon();
132 void UpdateIcon(); 130 void UpdateIcon();
133 void UpdateCaption(); 131 void UpdateCaption();
134 void OnLButtonDown(CFWL_MsgMouse* pMsg); 132 void OnLButtonDown(CFWL_MsgMouse* pMsg);
135 void OnLButtonUp(CFWL_MsgMouse* pMsg); 133 void OnLButtonUp(CFWL_MsgMouse* pMsg);
136 void OnMouseMove(CFWL_MsgMouse* pMsg); 134 void OnMouseMove(CFWL_MsgMouse* pMsg);
137 void OnMouseLeave(CFWL_MsgMouse* pMsg); 135 void OnMouseLeave(CFWL_MsgMouse* pMsg);
138 void OnLButtonDblClk(CFWL_MsgMouse* pMsg); 136 void OnLButtonDblClk(CFWL_MsgMouse* pMsg);
139 void OnWindowMove(CFWL_MsgWindowMove* pMsg);
140 void OnClose(CFWL_MsgClose* pMsg);
141 137
142 #if (_FX_OS_ == _FX_MACOSX_) 138 #if (_FX_OS_ == _FX_MACOSX_)
143 bool m_bMouseIn; 139 bool m_bMouseIn;
144 #endif 140 #endif
145 CFX_RectF m_rtRestore; 141 CFX_RectF m_rtRestore;
146 CFX_RectF m_rtCaptionText; 142 CFX_RectF m_rtCaptionText;
147 CFX_RectF m_rtRelative; 143 CFX_RectF m_rtRelative;
148 CFX_RectF m_rtCaption; 144 CFX_RectF m_rtCaption;
149 CFX_RectF m_rtIcon; 145 CFX_RectF m_rtIcon;
150 CFWL_SysBtn* m_pCloseBox; 146 CFWL_SysBtn* m_pCloseBox;
(...skipping 13 matching lines...) Expand all
164 bool m_bSetMaximize; 160 bool m_bSetMaximize;
165 bool m_bCustomizeLayout; 161 bool m_bCustomizeLayout;
166 bool m_bDoModalFlag; 162 bool m_bDoModalFlag;
167 FX_FLOAT m_fSmallIconSz; 163 FX_FLOAT m_fSmallIconSz;
168 FX_FLOAT m_fBigIconSz; 164 FX_FLOAT m_fBigIconSz;
169 CFX_DIBitmap* m_pBigIcon; 165 CFX_DIBitmap* m_pBigIcon;
170 CFX_DIBitmap* m_pSmallIcon; 166 CFX_DIBitmap* m_pSmallIcon;
171 }; 167 };
172 168
173 #endif // XFA_FWL_CORE_IFWL_FORM_H_ 169 #endif // XFA_FWL_CORE_IFWL_FORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698