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

Unified Diff: xfa/fwl/core/fwl_appimp.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/fwl_appimp.h
diff --git a/xfa/fwl/core/fwl_appimp.h b/xfa/fwl/core/fwl_appimp.h
index 8743b54a43ea3f2dd3f50bd8c85b7266ed885809..14f5c91f2192e8ed0a5d07ff2e2eceee7712ba4d 100644
--- a/xfa/fwl/core/fwl_appimp.h
+++ b/xfa/fwl/core/fwl_appimp.h
@@ -12,7 +12,7 @@
#include "xfa/fwl/core/fwl_noteimp.h"
class CFWL_WidgetMgr;
-class IFWL_AdapterNative;
+class CXFA_FFApp;
class IFWL_App;
class IFWL_NoteThread;
class IFWL_ThemeProvider;
@@ -20,22 +20,22 @@ class IFWL_WidgetMgr;
class CFWL_AppImp {
public:
- CFWL_AppImp(IFWL_App* pIface, IFWL_AdapterNative* pAdapter);
- virtual ~CFWL_AppImp();
+ CFWL_AppImp(IFWL_App* pIface, CXFA_FFApp* pAdapter);
+ ~CFWL_AppImp();
IFWL_App* GetInterface() const { return m_pIface; }
CFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver.get(); }
- virtual FWL_ERR Initialize();
- virtual FWL_ERR Finalize();
- virtual IFWL_AdapterNative* GetAdapterNative() const;
- virtual IFWL_WidgetMgr* GetWidgetMgr() const;
- virtual IFWL_ThemeProvider* GetThemeProvider() const;
- virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
- virtual FWL_ERR Exit(int32_t iExitCode = 0);
+ FWL_ERR Initialize();
+ FWL_ERR Finalize();
+ CXFA_FFApp* GetAdapterNative() const;
+ IFWL_WidgetMgr* GetWidgetMgr() const;
+ IFWL_ThemeProvider* GetThemeProvider() const;
+ FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
+ void Exit(int32_t iExitCode);
protected:
Tom Sepez 2016/04/28 16:42:11 Are there subclasses of this? If not, this can be
dsinclair 2016/04/28 17:53:45 Done.
- IFWL_AdapterNative* const m_pAdapterNative;
+ CXFA_FFApp* const m_pAdapterNative;
std::unique_ptr<CFWL_WidgetMgr> m_pWidgetMgr;
IFWL_ThemeProvider* m_pThemeProvider;
std::unique_ptr<CFWL_NoteDriver> m_pNoteDriver;
« no previous file with comments | « xfa.gyp ('k') | xfa/fwl/core/fwl_appimp.cpp » ('j') | xfa/fwl/core/fwl_appimp.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698