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

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

Issue 1735833003: Remove include only fwl.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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_INCLUDE_FWL_LISTBOXIMP_H_ 7 #ifndef XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_LISTBOXIMP_H_
8 #define XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_LISTBOXIMP_H_ 8 #define XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_LISTBOXIMP_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 class CFWL_WidgetImp; 12 #include "xfa/include/fwl/basewidget/fwl_combobox.h"
13 class CFWL_WidgetImpProperties; 13 #include "xfa/include/fwl/basewidget/fwl_edit.h"
14 class CFWL_WidgetImpDelegate; 14 #include "xfa/include/fwl/basewidget/fwl_listbox.h"
15 class CFWL_ScrollBarImp; 15 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h"
16 class IFWL_Widget; 16 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h"
17 class CFWL_ListBoxImp; 17
18 class CFWL_ListBoxImpDelegate; 18 class CFWL_ListBoxImpDelegate;
19
19 class CFWL_ListBoxImp : public CFWL_WidgetImp { 20 class CFWL_ListBoxImp : public CFWL_WidgetImp {
20 public: 21 public:
21 CFWL_ListBoxImp(const CFWL_WidgetImpProperties& properties, 22 CFWL_ListBoxImp(const CFWL_WidgetImpProperties& properties,
22 IFWL_Widget* pOuter); 23 IFWL_Widget* pOuter);
23 ~CFWL_ListBoxImp(); 24 ~CFWL_ListBoxImp();
24 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; 25 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
25 virtual FX_DWORD GetClassID() const; 26 virtual FX_DWORD GetClassID() const;
26 virtual FWL_ERR Initialize(); 27 virtual FWL_ERR Initialize();
27 virtual FWL_ERR Finalize(); 28 virtual FWL_ERR Finalize();
28 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); 29 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void OnLButtonUp(CFWL_MsgMouse* pMsg); 112 void OnLButtonUp(CFWL_MsgMouse* pMsg);
112 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg); 113 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg);
113 void OnKeyDown(CFWL_MsgKey* pMsg); 114 void OnKeyDown(CFWL_MsgKey* pMsg);
114 void OnVK(FWL_HLISTITEM hItem, FX_BOOL bShift, FX_BOOL bCtrl); 115 void OnVK(FWL_HLISTITEM hItem, FX_BOOL bShift, FX_BOOL bCtrl);
115 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);
116 void DispatchSelChangedEv(); 117 void DispatchSelChangedEv();
117 CFWL_ListBoxImp* m_pOwner; 118 CFWL_ListBoxImp* m_pOwner;
118 }; 119 };
119 120
120 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_LISTBOXIMP_H_ 121 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_INCLUDE_FWL_LISTBOXIMP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698