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

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

Issue 2482253004: Convert FWL_SCBCODE to an enum class (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 unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_edit.cpp ('k') | xfa/fwl/core/ifwl_listbox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_LISTBOX_H_ 7 #ifndef XFA_FWL_CORE_IFWL_LISTBOX_H_
8 #define XFA_FWL_CORE_IFWL_LISTBOX_H_ 8 #define XFA_FWL_CORE_IFWL_LISTBOX_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool m_bLButtonDown; 181 bool m_bLButtonDown;
182 IFWL_ThemeProvider* m_pScrollBarTP; 182 IFWL_ThemeProvider* m_pScrollBarTP;
183 183
184 private: 184 private:
185 void OnFocusChanged(CFWL_Message* pMsg, bool bSet = true); 185 void OnFocusChanged(CFWL_Message* pMsg, bool bSet = true);
186 void OnLButtonDown(CFWL_MsgMouse* pMsg); 186 void OnLButtonDown(CFWL_MsgMouse* pMsg);
187 void OnLButtonUp(CFWL_MsgMouse* pMsg); 187 void OnLButtonUp(CFWL_MsgMouse* pMsg);
188 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg); 188 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg);
189 void OnKeyDown(CFWL_MsgKey* pMsg); 189 void OnKeyDown(CFWL_MsgKey* pMsg);
190 void OnVK(CFWL_ListItem* hItem, bool bShift, bool bCtrl); 190 void OnVK(CFWL_ListItem* hItem, bool bShift, bool bCtrl);
191 bool OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); 191 bool OnScroll(IFWL_ScrollBar* pScrollBar, FWL_SCBCODE dwCode, FX_FLOAT fPos);
192 void DispatchSelChangedEv(); 192 void DispatchSelChangedEv();
193 }; 193 };
194 194
195 #endif // XFA_FWL_CORE_IFWL_LISTBOX_H_ 195 #endif // XFA_FWL_CORE_IFWL_LISTBOX_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_edit.cpp ('k') | xfa/fwl/core/ifwl_listbox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698