diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-19 10:33:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-19 10:33:32 -0700 |
commit | 11178284eccf22306338cf0d252b8dbb946feb16 (patch) | |
tree | 586cf51746e37d37b20d39cdd5b23e9ad1c0cf2b /xfa/fwl/core/fwl_appimp.cpp | |
parent | 2fa0e13ec2a79cc85d5e018a6420e677b28160cc (diff) | |
download | pdfium-11178284eccf22306338cf0d252b8dbb946feb16.tar.xz |
Remove fullscreen code.
The FWL_SetFullScreen() method is never called, remove and all the supporting
fullscreen code.
Review URL: https://codereview.chromium.org/1902083002
Diffstat (limited to 'xfa/fwl/core/fwl_appimp.cpp')
-rw-r--r-- | xfa/fwl/core/fwl_appimp.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
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<CFWL_NoteDriver*>(pNoteTread->GetNoteDriver()); - if (!pNoteTread) - return FWL_ERR_Succeeded; - pNoteDriver->NotifyFullScreenMode(pWidget, bFullScreen); - return FWL_GetAdapterWidgetMgr()->SetFullScreen(pWidget, bFullScreen); -} |