summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_noteimp.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-19 10:33:32 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-19 10:33:32 -0700
commit11178284eccf22306338cf0d252b8dbb946feb16 (patch)
tree586cf51746e37d37b20d39cdd5b23e9ad1c0cf2b /xfa/fwl/core/fwl_noteimp.cpp
parent2fa0e13ec2a79cc85d5e018a6420e677b28160cc (diff)
downloadpdfium-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_noteimp.cpp')
-rw-r--r--xfa/fwl/core/fwl_noteimp.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/xfa/fwl/core/fwl_noteimp.cpp b/xfa/fwl/core/fwl_noteimp.cpp
index 355531b407..a01eea9138 100644
--- a/xfa/fwl/core/fwl_noteimp.cpp
+++ b/xfa/fwl/core/fwl_noteimp.cpp
@@ -73,7 +73,6 @@ void CFWL_NoteLoop::GenerateCommondEvent(uint32_t dwCommand) {
}
CFWL_NoteDriver::CFWL_NoteDriver()
: m_sendEventCalled(0),
- m_bFullScreen(FALSE),
m_pHover(nullptr),
m_pFocus(nullptr),
m_pGrab(nullptr) {
@@ -326,10 +325,7 @@ void CFWL_NoteDriver::NotifyTargetDestroy(IFWL_Widget* pNoteTarget) {
}
}
}
-void CFWL_NoteDriver::NotifyFullScreenMode(IFWL_Widget* pNoteTarget,
- FX_BOOL bFullScreen) {
- m_bFullScreen = bFullScreen;
-}
+
FWL_ERR CFWL_NoteDriver::RegisterForm(CFWL_WidgetImp* pForm) {
if (!pForm)
return FWL_ERR_Indefinite;
@@ -468,17 +464,11 @@ FX_BOOL CFWL_NoteDriver::DispatchMessage(CFWL_Message* pMessage,
}
FX_BOOL CFWL_NoteDriver::DoActivate(CFWL_MsgActivate* pMsg,
IFWL_Widget* pMessageForm) {
- if (m_bFullScreen) {
- return FALSE;
- }
pMsg->m_pDstTarget = pMessageForm;
return (pMsg->m_pDstTarget)->GetStates() & FWL_WGTSTATE_Deactivated;
}
FX_BOOL CFWL_NoteDriver::DoDeactivate(CFWL_MsgDeactivate* pMsg,
IFWL_Widget* pMessageForm) {
- if (m_bFullScreen) {
- return FALSE;
- }
int32_t iTrackLoop = m_noteLoopQueue.GetSize();
if (iTrackLoop <= 0)
return FALSE;