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

Side by Side Diff: xfa/src/fwl/basewidget/fwl_listboximp.h

Issue 1770953004: Remove xfa/src/fwl/src and move code up a level. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months 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_SRC_FWL_SRC_BASEWIDGET_FWL_LISTBOXIMP_H_ 7 #ifndef XFA_SRC_FWL_BASEWIDGET_FWL_LISTBOXIMP_H_
8 #define XFA_SRC_FWL_SRC_BASEWIDGET_FWL_LISTBOXIMP_H_ 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_LISTBOXIMP_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "xfa/include/fwl/basewidget/fwl_combobox.h" 12 #include "xfa/include/fwl/basewidget/fwl_combobox.h"
13 #include "xfa/include/fwl/basewidget/fwl_edit.h" 13 #include "xfa/include/fwl/basewidget/fwl_edit.h"
14 #include "xfa/include/fwl/basewidget/fwl_listbox.h" 14 #include "xfa/include/fwl/basewidget/fwl_listbox.h"
15 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h" 15 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h"
16 #include "xfa/src/fwl/src/core/fwl_widgetimp.h" 16 #include "xfa/src/fwl/core/fwl_widgetimp.h"
17 17
18 class CFWL_ListBoxImpDelegate; 18 class CFWL_ListBoxImpDelegate;
19 19
20 class CFWL_ListBoxImp : public CFWL_WidgetImp { 20 class CFWL_ListBoxImp : public CFWL_WidgetImp {
21 public: 21 public:
22 CFWL_ListBoxImp(const CFWL_WidgetImpProperties& properties, 22 CFWL_ListBoxImp(const CFWL_WidgetImpProperties& properties,
23 IFWL_Widget* pOuter); 23 IFWL_Widget* pOuter);
24 ~CFWL_ListBoxImp(); 24 ~CFWL_ListBoxImp();
25 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; 25 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
26 virtual FX_DWORD GetClassID() const; 26 virtual FX_DWORD GetClassID() const;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void OnLButtonDown(CFWL_MsgMouse* pMsg); 111 void OnLButtonDown(CFWL_MsgMouse* pMsg);
112 void OnLButtonUp(CFWL_MsgMouse* pMsg); 112 void OnLButtonUp(CFWL_MsgMouse* pMsg);
113 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg); 113 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg);
114 void OnKeyDown(CFWL_MsgKey* pMsg); 114 void OnKeyDown(CFWL_MsgKey* pMsg);
115 void OnVK(FWL_HLISTITEM hItem, FX_BOOL bShift, FX_BOOL bCtrl); 115 void OnVK(FWL_HLISTITEM hItem, FX_BOOL bShift, FX_BOOL bCtrl);
116 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, FX_DWORD dwCode, FX_FLOAT fPos); 116 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, FX_DWORD dwCode, FX_FLOAT fPos);
117 void DispatchSelChangedEv(); 117 void DispatchSelChangedEv();
118 CFWL_ListBoxImp* m_pOwner; 118 CFWL_ListBoxImp* m_pOwner;
119 }; 119 };
120 120
121 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_FWL_LISTBOXIMP_H_ 121 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_LISTBOXIMP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698