From 4d3bf982ef493ba8531cbe44c821cf0513a65e98 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Fri, 23 Apr 1999 14:10:55 +0000 Subject: [PATCH] Added two new support methods git-svn-id: svn://10.0.0.236/trunk@28832 18797224-902f-48f8-a5cc-f745e15eee43 --- .../widget/src/windows/nsNativeDragTarget.h | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/mozilla/widget/src/windows/nsNativeDragTarget.h b/mozilla/widget/src/windows/nsNativeDragTarget.h index 07b41fb5031..780459de2a2 100644 --- a/mozilla/widget/src/windows/nsNativeDragTarget.h +++ b/mozilla/widget/src/windows/nsNativeDragTarget.h @@ -24,6 +24,8 @@ class nsIDragService; class nsIWidget; +struct IDataObject; + /* * nsNativeDragTarget implements the IDropTarget interface and gets most of its * behavior from the associated adapter (m_dragDrop). @@ -68,13 +70,23 @@ class nsNativeDragTarget : public IDropTarget STDMETHODIMP Drop(LPDATAOBJECT pSource, DWORD grfKeyState, POINTL point, DWORD* pEffect); - protected: - void DispatchDragDropEvent(PRUint32 aType, POINTL pt); + protected: + // methods + void GetGeckoDragAction(DWORD grfKeyState, LPDWORD pdwEffect, PRUint32 * aGeckoAction); + void ProcessDrag(PRUint32 aEventType, + DWORD grfKeyState, + POINTL pt, + DWORD* pdwEffect); + void DispatchDragDropEvent(PRUint32 aType, POINTL pt); - ULONG m_cRef; // reference count - nsIDragService* mDragService; // adapter - nsIWidget * mWindow; - HWND mHWnd; + // Native Stuff + ULONG m_cRef; // reference count + HWND mHWnd; + IDataObject * mDataObj; + + // Gecko Stuff + nsIWidget * mWindow; + nsIDragService * mDragService; }; #endif // _nsNativeDragTarget_h_