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

Unified Diff: xfa/fwl/core/ifwl_app.h

Issue 1928963004: Cleanup IFWL_Adapter interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/core/ifwl_app.h
diff --git a/xfa/fwl/core/ifwl_app.h b/xfa/fwl/core/ifwl_app.h
index 776065afe5f1d23a3157b2bbe2598715fec6603e..f86355c53b07590bc75c9f14ea2569a5e9f6f711 100644
--- a/xfa/fwl/core/ifwl_app.h
+++ b/xfa/fwl/core/ifwl_app.h
@@ -22,25 +22,25 @@
#include "xfa/fwl/core/fwl_error.h"
class CFWL_NoteDriver;
-class IFWL_AdapterNative;
-class IFWL_AdapterWidgetMgr;
+class CXFA_FFApp;
+class CXFA_FWLAdapterWidgetMgr;
class IFWL_ThemeProvider;
class IFWL_Widget;
class IFWL_WidgetMgr;
class IFWL_App {
public:
- static IFWL_App* Create(IFWL_AdapterNative* pAdapter);
+ static IFWL_App* Create(CXFA_FFApp* pAdapter);
virtual ~IFWL_App() {}
FWL_ERR Initialize();
FWL_ERR Finalize();
- IFWL_AdapterNative* GetAdapterNative();
+ CXFA_FFApp* GetAdapterNative();
IFWL_WidgetMgr* GetWidgetMgr();
IFWL_ThemeProvider* GetThemeProvider();
FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
- FWL_ERR Exit(int32_t iExitCode);
+ void Exit(int32_t iExitCode);
// These call into polymorphic methods in the impl; no need to override.
void Release();
@@ -59,7 +59,7 @@ class IFWL_App {
IFWL_App* FWL_GetApp();
void FWL_SetApp(IFWL_App* pApp);
-IFWL_AdapterNative* FWL_GetAdapterNative();
-IFWL_AdapterWidgetMgr* FWL_GetAdapterWidgetMgr();
+CXFA_FFApp* FWL_GetAdapterNative();
+CXFA_FWLAdapterWidgetMgr* FWL_GetAdapterWidgetMgr();
#endif // XFA_FWL_CORE_IFWL_APP_H_

Powered by Google App Engine
This is Rietveld 408576698