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

Side by Side Diff: xfa/src/fwl/core/fwl_sdadapterimp.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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/src/fwl/core/fwl_panelimp.cpp ('k') | xfa/src/fwl/core/fwl_targetimp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "xfa/include/fwl/adapter/fwl_sdadapterimp.h"
8
9 #include "core/include/fxcrt/fx_system.h"
10 #include "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h"
11 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h"
12 #include "xfa/include/fwl/core/fwl_app.h"
13 #include "xfa/src/fwl/core/fwl_noteimp.h"
14 #include "xfa/src/fwl/core/fwl_targetimp.h"
15 #include "xfa/src/fwl/core/fwl_threadimp.h"
16 #include "xfa/src/fwl/core/fwl_widgetmgrimp.h"
17
18 CFWL_SDAdapterWidgetMgr::CFWL_SDAdapterWidgetMgr() {}
19 CFWL_SDAdapterWidgetMgr::~CFWL_SDAdapterWidgetMgr() {}
20
21 FWL_ERR CFWL_SDAdapterWidgetMgr::CreateWidget(IFWL_Widget* pWidget,
22 IFWL_Widget* pParent) {
23 return FWL_ERR_Succeeded;
24 }
25 FWL_ERR CFWL_SDAdapterWidgetMgr::DestroyWidget(IFWL_Widget* pWidget) {
26 return FWL_ERR_Succeeded;
27 }
28 FWL_ERR CFWL_SDAdapterWidgetMgr::SetWidgetRect(IFWL_Widget* pWidget,
29 const CFX_RectF& rect) {
30 return FWL_ERR_Succeeded;
31 }
32 FWL_ERR CFWL_SDAdapterWidgetMgr::SetWidgetPosition(IFWL_Widget* pWidget,
33 FX_FLOAT fx,
34 FX_FLOAT fy) {
35 return FWL_ERR_Succeeded;
36 }
37 FWL_ERR CFWL_SDAdapterWidgetMgr::SetParentWidget(IFWL_Widget* pWidget,
38 IFWL_Widget* pParent) {
39 return FWL_ERR_Succeeded;
40 }
41 FWL_ERR CFWL_SDAdapterWidgetMgr::ShowWidget(IFWL_Widget* pWidget) {
42 return FWL_ERR_Succeeded;
43 }
44 FWL_ERR CFWL_SDAdapterWidgetMgr::HideWidget(IFWL_Widget* pWidget) {
45 return FWL_ERR_Succeeded;
46 }
47 FWL_ERR CFWL_SDAdapterWidgetMgr::SetNormal(IFWL_Widget* pWidget) {
48 return FWL_ERR_Succeeded;
49 }
50 FWL_ERR CFWL_SDAdapterWidgetMgr::SetMaximize(IFWL_Widget* pWidget) {
51 return FWL_ERR_Succeeded;
52 }
53 FWL_ERR CFWL_SDAdapterWidgetMgr::SetMinimize(IFWL_Widget* pWidget) {
54 return FWL_ERR_Succeeded;
55 }
56 FWL_ERR CFWL_SDAdapterWidgetMgr::RunWidget(IFWL_Widget* pWidget) {
57 return FWL_ERR_Succeeded;
58 }
59 FWL_ERR CFWL_SDAdapterWidgetMgr::RepaintWidget(IFWL_Widget* pWidget,
60 const CFX_RectF* pRect) {
61 return FWL_ERR_Succeeded;
62 }
63 FWL_ERR CFWL_SDAdapterWidgetMgr::Exit(int32_t iExitCode) {
64 return FWL_ERR_Succeeded;
65 }
66 FWL_ERR CFWL_SDAdapterWidgetMgr::CreateWidgetWithNativeId(IFWL_Widget* pWidget,
67 void* vp) {
68 return FWL_ERR_Succeeded;
69 }
70 FWL_ERR CFWL_SDAdapterWidgetMgr::GetWidgetRect(IFWL_Widget* pWidget,
71 CFX_RectF& rect) {
72 return FWL_ERR_Succeeded;
73 }
74 FWL_ERR CFWL_SDAdapterWidgetMgr::SetWidgetIcon(IFWL_Widget* pWidget,
75 const CFX_DIBitmap* pIcon,
76 FX_BOOL bBig) {
77 return FWL_ERR_Succeeded;
78 }
79 FWL_ERR CFWL_SDAdapterWidgetMgr::SetWidgetCaption(
80 IFWL_Widget* pWidget,
81 const CFX_WideStringC& wsCaption) {
82 return FWL_ERR_Succeeded;
83 }
84 FWL_ERR CFWL_SDAdapterWidgetMgr::SetBorderRegion(IFWL_Widget* pWidget,
85 CFX_Path* pPath) {
86 return FWL_ERR_Succeeded;
87 }
88 FWL_ERR CFWL_SDAdapterWidgetMgr::SetTransparent(IFWL_Widget* pWidget,
89 FX_DWORD dwAlpha) {
90 return FWL_ERR_Succeeded;
91 }
92 FWL_ERR CFWL_SDAdapterWidgetMgr::SetFullScreen(IFWL_Widget* pWidget,
93 FX_BOOL bFullScreen) {
94 return FWL_ERR_Succeeded;
95 }
96 FX_BOOL CFWL_SDAdapterWidgetMgr::CheckMessage() {
97 return TRUE;
98 }
99 FX_BOOL CFWL_SDAdapterWidgetMgr::IsIdleMessage() {
100 return TRUE;
101 }
102 FWL_ERR CFWL_SDAdapterWidgetMgr::DispatchMessage() {
103 return FWL_ERR_Succeeded;
104 }
105 FWL_ERR CFWL_SDAdapterWidgetMgr::GetWidgetDC(IFWL_Widget* pWidget, void*& pDC) {
106 return FWL_ERR_Succeeded;
107 }
108 FWL_ERR CFWL_SDAdapterWidgetMgr::ReleaseWidgetDC(IFWL_Widget* pWidget,
109 void* pDC,
110 CFX_RectF* pClip) {
111 return FWL_ERR_Succeeded;
112 }
113 void* CFWL_SDAdapterWidgetMgr::GetWindow(IFWL_Widget* pWidget) {
114 return NULL;
115 }
116 FX_DWORD CFWL_SDAdapterWidgetMgr::GetKeyState(FX_DWORD dwVirtKey) {
117 return 0;
118 }
119 FWL_ERR CFWL_SDAdapterWidgetMgr::RunLoop(IFWL_Widget* widget) {
120 return FWL_ERR_Succeeded;
121 }
122 FWL_ERR CFWL_SDAdapterWidgetMgr::EndLoop() {
123 return FWL_ERR_Succeeded;
124 }
125 FWL_ERR CFWL_SDAdapterWidgetMgr::InitMenu(IFWL_Menu* pMenu,
126 IFWL_MenuDP* pMenuData) {
127 return FWL_ERR_Succeeded;
128 }
129 FWL_ERR CFWL_SDAdapterWidgetMgr::UpdateMenu(IFWL_Menu* pMenu,
130 const void* hItem,
131 int32_t iType) {
132 return FWL_ERR_Succeeded;
133 }
134 int32_t CFWL_SDAdapterWidgetMgr::TrackPopupMenu(IFWL_Menu* pMenu,
135 IFWL_MenuDP* pMenuData) {
136 return 0;
137 }
138 FWL_ERR CFWL_SDAdapterWidgetMgr::SetMessageHook(IFWL_AdapterMessageHook* hook) {
139 return FWL_ERR_Succeeded;
140 }
141 FWL_ERR CFWL_SDAdapterWidgetMgr::GetSystemBorder(FX_FLOAT& l,
142 FX_FLOAT& t,
143 FX_FLOAT& r,
144 FX_FLOAT& b) {
145 return FWL_ERR_Succeeded;
146 }
147 FX_BOOL CFWL_SDAdapterWidgetMgr::GetPopupPos(IFWL_Widget* pWidget,
148 FX_FLOAT fMinHeight,
149 FX_FLOAT fMaxHeight,
150 const CFX_RectF& rtAnchor,
151 CFX_RectF& rtPopup) {
152 return FWL_ERR_Succeeded;
153 }
154 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {}
155 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {}
156 FWL_ERR CFWL_SDAdapterThreadMgr::Start(IFWL_Thread* pThread,
157 FWL_HTHREAD& hThread,
158 FX_BOOL bSuspended) {
159 return FWL_ERR_Succeeded;
160 }
161 FWL_ERR CFWL_SDAdapterThreadMgr::Resume(FWL_HTHREAD hThread) {
162 return FWL_ERR_Succeeded;
163 }
164 FWL_ERR CFWL_SDAdapterThreadMgr::Suspend(FWL_HTHREAD hThread) {
165 return FWL_ERR_Succeeded;
166 }
167 FWL_ERR CFWL_SDAdapterThreadMgr::Kill(FWL_HTHREAD hThread, int32_t iExitCode) {
168 return FWL_ERR_Succeeded;
169 }
170 FWL_ERR CFWL_SDAdapterThreadMgr::Stop(FWL_HTHREAD hThread, int32_t iExitCode) {
171 return FWL_ERR_Succeeded;
172 }
173 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() {
174 return FWL_GetApp();
175 }
OLDNEW
« no previous file with comments | « xfa/src/fwl/core/fwl_panelimp.cpp ('k') | xfa/src/fwl/core/fwl_targetimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698