summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_noteimp.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-13 13:24:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-13 13:24:40 -0700
commitc4c17fbbcf4cd2b72af7c10db0320d78099df66d (patch)
treedaedb56c01607a4d169bf5494ba199dca632c454 /xfa/fwl/core/fwl_noteimp.h
parent9f3dbbc54c6981f069b57e6714393ac6c0c64231 (diff)
downloadpdfium-c4c17fbbcf4cd2b72af7c10db0320d78099df66d.tar.xz
Remove unused FWL methods
This CL removes various methods from FWL that are not called. Review URL: https://codereview.chromium.org/1886703005
Diffstat (limited to 'xfa/fwl/core/fwl_noteimp.h')
-rw-r--r--xfa/fwl/core/fwl_noteimp.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h
index 8f3e0c3737..d1d611a5d7 100644
--- a/xfa/fwl/core/fwl_noteimp.h
+++ b/xfa/fwl/core/fwl_noteimp.h
@@ -28,17 +28,15 @@ class IFWL_ToolTipTarget;
class CFWL_NoteLoop : public IFWL_NoteLoop {
public:
- CFWL_NoteLoop(CFWL_WidgetImp* pForm = NULL);
+ CFWL_NoteLoop(CFWL_WidgetImp* pForm = nullptr);
+ ~CFWL_NoteLoop() override {}
// IFWL_NoteLoop:
- ~CFWL_NoteLoop() override {}
- FX_BOOL PreProcessMessage(CFWL_Message* pMessage) override;
FWL_ERR Idle(int32_t count) override;
CFWL_WidgetImp* GetForm();
FX_BOOL ContinueModal();
FWL_ERR EndModalLoop();
- FX_BOOL TranslateAccelerator(CFWL_Message* pMessage);
FWL_ERR SetMainForm(CFWL_WidgetImp* pForm);
protected:
@@ -60,8 +58,6 @@ class CFWL_NoteDriver : public IFWL_NoteDriver {
uint32_t dwFilter = FWL_EVENT_ALL_MASK) override;
FWL_ERR UnregisterEventTarget(IFWL_Widget* pListener) override;
void ClearEventTargets(FX_BOOL bRemoveAll) override;
- int32_t GetQueueMaxSize() const override;
- FWL_ERR SetQueueMaxSize(const int32_t size) override;
IFWL_NoteThread* GetOwnerThread() const override;
FWL_ERR PushNoteLoop(IFWL_NoteLoop* pNoteLoop) override;
IFWL_NoteLoop* PopNoteLoop() override;
@@ -81,7 +77,6 @@ class CFWL_NoteDriver : public IFWL_NoteDriver {
FX_BOOL UnqueueMessage(CFWL_NoteLoop* pNoteLoop);
CFWL_NoteLoop* GetTopLoop();
int32_t CountLoop();
- void SetHook(FWLMessageHookCallback callback, void* info);
FX_BOOL ProcessMessage(CFWL_Message* pMessage);
protected:
@@ -106,14 +101,11 @@ class CFWL_NoteDriver : public IFWL_NoteDriver {
CFX_PtrArray m_noteLoopQueue;
CFX_MapPtrToPtr m_eventTargets;
int32_t m_sendEventCalled;
- int32_t m_maxSize;
FX_BOOL m_bFullScreen;
IFWL_Widget* m_pHover;
IFWL_Widget* m_pFocus;
IFWL_Widget* m_pGrab;
CFWL_NoteLoop* m_pNoteLoop;
- FWLMessageHookCallback m_hook;
- void* m_hookInfo;
};
typedef CFX_MapPtrTemplate<void*, uint32_t> CFWL_EventSource;
@@ -151,9 +143,6 @@ class CFWL_ToolTipContainer {
FX_BOOL ProcessEnter(CFWL_EvtMouse* pEvt, IFWL_Widget* pOwner);
FX_BOOL ProcessLeave(CFWL_EvtMouse* pEvt);
- FX_ERR SetToolTipInitialDelay(int32_t iDelayTime);
- FX_ERR SetToolTipAutoPopDelay(int32_t iDelayTime);
-
protected:
CFWL_ToolTipContainer();
virtual ~CFWL_ToolTipContainer();