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

Side by Side Diff: xfa/src/fwl/core/fwl_appimp.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_appimp.h" 7 #include "xfa/src/fwl/core/fwl_appimp.h"
8 8
9 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" 9 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h"
10 #include "xfa/include/fwl/core/fwl_app.h" 10 #include "xfa/include/fwl/core/fwl_app.h"
11 #include "xfa/include/fwl/core/fwl_widget.h" 11 #include "xfa/include/fwl/core/fwl_widget.h"
12 #include "xfa/src/fwl/src/core/fwl_noteimp.h" 12 #include "xfa/src/fwl/core/fwl_noteimp.h"
13 #include "xfa/src/fwl/src/core/fwl_targetimp.h" 13 #include "xfa/src/fwl/core/fwl_targetimp.h"
14 #include "xfa/src/fwl/src/core/fwl_threadimp.h" 14 #include "xfa/src/fwl/core/fwl_threadimp.h"
15 #include "xfa/src/fwl/src/core/fwl_widgetmgrimp.h" 15 #include "xfa/src/fwl/core/fwl_widgetmgrimp.h"
16 16
17 IFWL_App* IFWL_App::Create(IFWL_AdapterNative* pAdapter) { 17 IFWL_App* IFWL_App::Create(IFWL_AdapterNative* pAdapter) {
18 IFWL_App* pApp = new IFWL_App; 18 IFWL_App* pApp = new IFWL_App;
19 pApp->SetImpl(new CFWL_AppImp(pApp, pAdapter)); 19 pApp->SetImpl(new CFWL_AppImp(pApp, pAdapter));
20 return pApp; 20 return pApp;
21 } 21 }
22 FWL_ERR IFWL_App::Initialize() { 22 FWL_ERR IFWL_App::Initialize() {
23 return static_cast<CFWL_AppImp*>(GetImpl())->Initialize(); 23 return static_cast<CFWL_AppImp*>(GetImpl())->Initialize();
24 } 24 }
25 FWL_ERR IFWL_App::Finalize() { 25 FWL_ERR IFWL_App::Finalize() {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 IFWL_NoteThread* pNoteTread = pWidget->GetOwnerThread(); 105 IFWL_NoteThread* pNoteTread = pWidget->GetOwnerThread();
106 if (!pNoteTread) 106 if (!pNoteTread)
107 return FWL_ERR_Succeeded; 107 return FWL_ERR_Succeeded;
108 CFWL_NoteDriver* pNoteDriver = 108 CFWL_NoteDriver* pNoteDriver =
109 static_cast<CFWL_NoteDriver*>(pNoteTread->GetNoteDriver()); 109 static_cast<CFWL_NoteDriver*>(pNoteTread->GetNoteDriver());
110 if (!pNoteTread) 110 if (!pNoteTread)
111 return FWL_ERR_Succeeded; 111 return FWL_ERR_Succeeded;
112 pNoteDriver->NotifyFullScreenMode(pWidget, bFullScreen); 112 pNoteDriver->NotifyFullScreenMode(pWidget, bFullScreen);
113 return FWL_GetAdapterWidgetMgr()->SetFullScreen(pWidget, bFullScreen); 113 return FWL_GetAdapterWidgetMgr()->SetFullScreen(pWidget, bFullScreen);
114 } 114 }
OLDNEW
« BUILD.gn ('K') | « xfa/src/fwl/core/fwl_appimp.h ('k') | xfa/src/fwl/core/fwl_contentimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698