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

Side by Side Diff: xfa/include/fwl/adapter/fwl_sdadapterimp.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, 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
« no previous file with comments | « xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h ('k') | xfa/include/fwl/basewidget/fwl_caret.h » ('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_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ 7 #ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_
8 #define XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ 8 #define XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_
9 9
10 class IFWL_AdapterNative; 10 #include "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h"
11 class IFWL_AdapterWidgetMgr; 11 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h"
12 class IFWL_AdapterThreadMgr; 12
13 class IFWL_AdapterTimerMgr;
14 class IFWL_WidgetMgrDelegate;
15 class CFWL_SDAdatperNative;
16 class CFWL_SDAdapterWidgetMgr;
17 class CFWL_SDAdapterTimerMgr;
18 class CFWL_SDAdapterWidgetMgr : public IFWL_AdapterWidgetMgr { 13 class CFWL_SDAdapterWidgetMgr : public IFWL_AdapterWidgetMgr {
19 public: 14 public:
20 CFWL_SDAdapterWidgetMgr(); 15 CFWL_SDAdapterWidgetMgr();
21 ~CFWL_SDAdapterWidgetMgr(); 16 ~CFWL_SDAdapterWidgetMgr();
22 virtual FWL_ERR CreateWidget(IFWL_Widget* pWidget, 17 virtual FWL_ERR CreateWidget(IFWL_Widget* pWidget,
23 IFWL_Widget* pParent = NULL); 18 IFWL_Widget* pParent = NULL);
24 virtual FWL_ERR DestroyWidget(IFWL_Widget* pWidget); 19 virtual FWL_ERR DestroyWidget(IFWL_Widget* pWidget);
25 virtual FWL_ERR SetWidgetRect(IFWL_Widget* pWidget, const CFX_RectF& rect); 20 virtual FWL_ERR SetWidgetRect(IFWL_Widget* pWidget, const CFX_RectF& rect);
26 virtual FWL_ERR SetWidgetPosition(IFWL_Widget* pWidget, 21 virtual FWL_ERR SetWidgetPosition(IFWL_Widget* pWidget,
27 FX_FLOAT fx, 22 FX_FLOAT fx,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual FWL_ERR UpdateMenu(IFWL_Menu* pMenu, 62 virtual FWL_ERR UpdateMenu(IFWL_Menu* pMenu,
68 const void* hItem, 63 const void* hItem,
69 int32_t iType); 64 int32_t iType);
70 virtual int32_t TrackPopupMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData); 65 virtual int32_t TrackPopupMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData);
71 virtual FWL_ERR SetMessageHook(IFWL_AdapterMessageHook* hook); 66 virtual FWL_ERR SetMessageHook(IFWL_AdapterMessageHook* hook);
72 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l, 67 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l,
73 FX_FLOAT& t, 68 FX_FLOAT& t,
74 FX_FLOAT& r, 69 FX_FLOAT& r,
75 FX_FLOAT& b); 70 FX_FLOAT& b);
76 }; 71 };
72
77 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { 73 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr {
78 public: 74 public:
79 CFWL_SDAdapterThreadMgr(); 75 CFWL_SDAdapterThreadMgr();
80 ~CFWL_SDAdapterThreadMgr(); 76 ~CFWL_SDAdapterThreadMgr();
81 77
82 public: 78 public:
83 virtual FWL_ERR Start(IFWL_Thread* pThread, 79 virtual FWL_ERR Start(IFWL_Thread* pThread,
84 FWL_HTHREAD& hThread, 80 FWL_HTHREAD& hThread,
85 FX_BOOL bSuspended = FALSE); 81 FX_BOOL bSuspended = FALSE);
86 virtual FWL_ERR Resume(FWL_HTHREAD hThread); 82 virtual FWL_ERR Resume(FWL_HTHREAD hThread);
87 virtual FWL_ERR Suspend(FWL_HTHREAD hThread); 83 virtual FWL_ERR Suspend(FWL_HTHREAD hThread);
88 virtual FWL_ERR Kill(FWL_HTHREAD hThread, int32_t iExitCode); 84 virtual FWL_ERR Kill(FWL_HTHREAD hThread, int32_t iExitCode);
89 virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode); 85 virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode);
90 virtual IFWL_Thread* GetCurrentThread(); 86 virtual IFWL_Thread* GetCurrentThread();
91 }; 87 };
92 88
93 #endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ 89 #endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h ('k') | xfa/include/fwl/basewidget/fwl_caret.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698