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

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

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

Powered by Google App Engine
This is Rietveld 408576698