From 11178284eccf22306338cf0d252b8dbb946feb16 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 19 Apr 2016 10:33:32 -0700 Subject: Remove fullscreen code. The FWL_SetFullScreen() method is never called, remove and all the supporting fullscreen code. Review URL: https://codereview.chromium.org/1902083002 --- xfa/fwl/core/fwl_appimp.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'xfa/fwl/core/fwl_appimp.cpp') diff --git a/xfa/fwl/core/fwl_appimp.cpp b/xfa/fwl/core/fwl_appimp.cpp index 8492be791f..95ed0c90cc 100644 --- a/xfa/fwl/core/fwl_appimp.cpp +++ b/xfa/fwl/core/fwl_appimp.cpp @@ -89,9 +89,6 @@ IFWL_AdapterNative* FWL_GetAdapterNative() { return NULL; return pApp->GetAdapterNative(); } -IFWL_ThemeProvider* FWL_GetThemeProvider() { - return NULL; -} static IFWL_App* _theApp = NULL; IFWL_App* FWL_GetApp() { return _theApp; @@ -99,16 +96,3 @@ IFWL_App* FWL_GetApp() { void FWL_SetApp(IFWL_App* pApp) { _theApp = pApp; } -FWL_ERR FWL_SetFullScreen(IFWL_Widget* pWidget, FX_BOOL bFullScreen) { - if (!pWidget) - return FWL_ERR_Succeeded; - IFWL_Thread* pNoteTread = pWidget->GetOwnerThread(); - if (!pNoteTread) - return FWL_ERR_Succeeded; - CFWL_NoteDriver* pNoteDriver = - static_cast(pNoteTread->GetNoteDriver()); - if (!pNoteTread) - return FWL_ERR_Succeeded; - pNoteDriver->NotifyFullScreenMode(pWidget, bFullScreen); - return FWL_GetAdapterWidgetMgr()->SetFullScreen(pWidget, bFullScreen); -} -- cgit v1.2.3