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

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

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: address some comments Created 4 years, 11 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 "../../../foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #include "include/fwl_targetimp.h" 8 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h"
9 #include "include/fwl_threadimp.h" 9 #include "xfa/src/fwl/src/core/include/fwl_threadimp.h"
10 #include "include/fwl_noteimp.h" 10 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h"
11 #include "include/fwl_widgetmgrimp.h" 11 #include "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h"
12 #include "include/fwl_appimp.h" 12 #include "xfa/src/fwl/src/core/include/fwl_appimp.h"
13 13
14 IFWL_App* IFWL_App::Create(IFWL_AdapterNative* pAdapter) { 14 IFWL_App* IFWL_App::Create(IFWL_AdapterNative* pAdapter) {
15 IFWL_App* pApp = new IFWL_App; 15 IFWL_App* pApp = new IFWL_App;
16 pApp->SetImpl(new CFWL_AppImp(pApp, pAdapter)); 16 pApp->SetImpl(new CFWL_AppImp(pApp, pAdapter));
17 return pApp; 17 return pApp;
18 } 18 }
19 FWL_ERR IFWL_App::Initialize() { 19 FWL_ERR IFWL_App::Initialize() {
20 return static_cast<CFWL_AppImp*>(GetImpl())->Initialize(); 20 return static_cast<CFWL_AppImp*>(GetImpl())->Initialize();
21 } 21 }
22 FWL_ERR IFWL_App::Finalize() { 22 FWL_ERR IFWL_App::Finalize() {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 IFWL_NoteThread* pNoteTread = pWidget->GetOwnerThread(); 114 IFWL_NoteThread* pNoteTread = pWidget->GetOwnerThread();
115 if (!pNoteTread) 115 if (!pNoteTread)
116 return FWL_ERR_Succeeded; 116 return FWL_ERR_Succeeded;
117 CFWL_NoteDriver* pNoteDriver = 117 CFWL_NoteDriver* pNoteDriver =
118 static_cast<CFWL_NoteDriver*>(pNoteTread->GetNoteDriver()); 118 static_cast<CFWL_NoteDriver*>(pNoteTread->GetNoteDriver());
119 if (!pNoteTread) 119 if (!pNoteTread)
120 return FWL_ERR_Succeeded; 120 return FWL_ERR_Succeeded;
121 pNoteDriver->NotifyFullScreenMode(pWidget, bFullScreen); 121 pNoteDriver->NotifyFullScreenMode(pWidget, bFullScreen);
122 return FWL_GetAdapterWidgetMgr()->SetFullScreen(pWidget, bFullScreen); 122 return FWL_GetAdapterWidgetMgr()->SetFullScreen(pWidget, bFullScreen);
123 } 123 }
OLDNEW
« no previous file with comments | « xfa/src/fwl/src/basewidget/fxmath_barcodeimp.cpp ('k') | xfa/src/fwl/src/core/fwl_contentimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698