From df685030b73074e46d7eb789e13135c52775091f Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 9 Dec 2015 11:56:39 -0800 Subject: Re-land "Rename CFWL_Thread classes to ThreadImp" This reverts commit 5e4f290e939ded90a518ff8eab1db59930655e11. BUG= R=thestig@chromium.org Review URL: https://codereview.chromium.org/1502063005 . --- xfa/include/fwl/core/fwl_app.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'xfa/include/fwl/core/fwl_app.h') diff --git a/xfa/include/fwl/core/fwl_app.h b/xfa/include/fwl/core/fwl_app.h index 8959726d43..1817b72cfe 100644 --- a/xfa/include/fwl/core/fwl_app.h +++ b/xfa/include/fwl/core/fwl_app.h @@ -12,16 +12,21 @@ class IFWL_Widget; class IFWL_WidgetMgr; class IFWL_ThemeProvider; class IFWL_AdapterWidgetMgr; -class IFWL_App; + class IFWL_App : public IFWL_NoteThread { public: static IFWL_App* Create(IFWL_AdapterNative* pAdapter); - virtual FWL_ERR Initialize() = 0; - virtual FWL_ERR Finalize() = 0; - virtual IFWL_AdapterNative* GetAdapterNative() = 0; - virtual IFWL_WidgetMgr* GetWidgetMgr() = 0; - virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) = 0; - virtual FWL_ERR Exit(int32_t iExitCode = 0) = 0; + + FWL_ERR Initialize(); + FWL_ERR Finalize(); + IFWL_AdapterNative* GetAdapterNative(); + IFWL_WidgetMgr* GetWidgetMgr(); + IFWL_ThemeProvider* GetThemeProvider(); + FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider); + FWL_ERR Exit(int32_t iExitCode); + + private: + IFWL_App() {} }; IFWL_App* FWL_GetApp(); void FWL_SetApp(IFWL_App* pApp); -- cgit v1.2.3