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

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

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 #include "xfa/src/fwl/src/core/fwl_widgetmgrimp.h" 7 #include "xfa/src/fwl/core/fwl_widgetmgrimp.h"
8 8
9 #include "xfa/include/fwl/adapter/fwl_adapternative.h" 9 #include "xfa/include/fwl/adapter/fwl_adapternative.h"
10 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" 10 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h"
11 #include "xfa/include/fwl/core/fwl_app.h" 11 #include "xfa/include/fwl/core/fwl_app.h"
12 #include "xfa/include/fwl/core/fwl_form.h" 12 #include "xfa/include/fwl/core/fwl_form.h"
13 #include "xfa/src/fwl/src/core/fwl_appimp.h" 13 #include "xfa/src/fwl/core/fwl_appimp.h"
14 #include "xfa/src/fwl/src/core/fwl_noteimp.h" 14 #include "xfa/src/fwl/core/fwl_noteimp.h"
15 #include "xfa/src/fwl/src/core/fwl_targetimp.h" 15 #include "xfa/src/fwl/core/fwl_targetimp.h"
16 #include "xfa/src/fwl/src/core/fwl_threadimp.h" 16 #include "xfa/src/fwl/core/fwl_threadimp.h"
17 #include "xfa/src/fwl/src/core/fwl_widgetimp.h" 17 #include "xfa/src/fwl/core/fwl_widgetimp.h"
18 18
19 FX_BOOL FWL_UseOffscreen(IFWL_Widget* pWidget) { 19 FX_BOOL FWL_UseOffscreen(IFWL_Widget* pWidget) {
20 #if (_FX_OS_ == _FX_MACOSX_) 20 #if (_FX_OS_ == _FX_MACOSX_)
21 return FALSE; 21 return FALSE;
22 #else 22 #else
23 return pWidget->GetStyles() & FWL_WGTSTYLE_Offscreen; 23 return pWidget->GetStyles() & FWL_WGTSTYLE_Offscreen;
24 #endif 24 #endif
25 } 25 }
26 IFWL_WidgetMgr* FWL_GetWidgetMgr() { 26 IFWL_WidgetMgr* FWL_GetWidgetMgr() {
27 IFWL_App* pApp = FWL_GetApp(); 27 IFWL_App* pApp = FWL_GetApp();
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 if (child == find) { 1066 if (child == find) {
1067 return TRUE; 1067 return TRUE;
1068 } 1068 }
1069 if (FWL_WidgetIsChild(child, find)) { 1069 if (FWL_WidgetIsChild(child, find)) {
1070 return TRUE; 1070 return TRUE;
1071 } 1071 }
1072 child = FWL_GetWidgetMgr()->GetWidget(child, FWL_WGTRELATION_NextSibling); 1072 child = FWL_GetWidgetMgr()->GetWidget(child, FWL_WGTRELATION_NextSibling);
1073 } 1073 }
1074 return FALSE; 1074 return FALSE;
1075 } 1075 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698