Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: xfa/fwl/core/fwl_noteimp.h

Issue 1886703005: Remove unused FWL methods (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/core/fwl_noteimp.h
diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h
index 8f3e0c3737ac9abdeb51608ffb5d12b0e9a240c1..d1d611a5d75dc7bd9e4fbd3e1d67a22ffb567d39 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 {}
Tom Sepez 2016/04/13 20:13:28 nit: implementation should be in .cpp file, even i
dsinclair 2016/04/13 20:17:17 Ack. There are a lot of these at the moment. My pl
// 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();

Powered by Google App Engine
This is Rietveld 408576698