зеркало из https://github.com/mozilla/pjs.git
hookup the drag listener attributes.
This commit is contained in:
Родитель
9c2d1b71b2
Коммит
0d2e26c6f6
|
@ -76,6 +76,7 @@
|
|||
#include "nsIDOMKeyListener.h"
|
||||
#include "nsIDOMFormListener.h"
|
||||
#include "nsIDOMMenuListener.h"
|
||||
#include "nsIDOMDragListener.h"
|
||||
#include "nsIScriptContextOwner.h"
|
||||
#include "nsIStyledContent.h"
|
||||
#include "nsIStyleContext.h"
|
||||
|
@ -526,6 +527,12 @@ static EventHandlerMapEntry kEventHandlerMap[] = {
|
|||
{ "onselect", nsnull, &kIDOMFormListenerIID },
|
||||
|
||||
{ "onpaint", nsnull, &kIDOMPaintListenerIID },
|
||||
|
||||
{ "ondragenter", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragover", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragexit", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragdrop", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondraggesture", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
|
||||
{ nsnull, nsnull, nsnull }
|
||||
};
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
#include "nsIDOMKeyListener.h"
|
||||
#include "nsIDOMFormListener.h"
|
||||
#include "nsIDOMMenuListener.h"
|
||||
#include "nsIDOMDragListener.h"
|
||||
#include "nsIScriptContextOwner.h"
|
||||
#include "nsIStyledContent.h"
|
||||
#include "nsIStyleContext.h"
|
||||
|
@ -526,6 +527,12 @@ static EventHandlerMapEntry kEventHandlerMap[] = {
|
|||
{ "onselect", nsnull, &kIDOMFormListenerIID },
|
||||
|
||||
{ "onpaint", nsnull, &kIDOMPaintListenerIID },
|
||||
|
||||
{ "ondragenter", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragover", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragexit", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragdrop", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondraggesture", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
|
||||
{ nsnull, nsnull, nsnull }
|
||||
};
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
#include "nsIDOMKeyListener.h"
|
||||
#include "nsIDOMFormListener.h"
|
||||
#include "nsIDOMMenuListener.h"
|
||||
#include "nsIDOMDragListener.h"
|
||||
#include "nsIScriptContextOwner.h"
|
||||
#include "nsIStyledContent.h"
|
||||
#include "nsIStyleContext.h"
|
||||
|
@ -526,6 +527,12 @@ static EventHandlerMapEntry kEventHandlerMap[] = {
|
|||
{ "onselect", nsnull, &kIDOMFormListenerIID },
|
||||
|
||||
{ "onpaint", nsnull, &kIDOMPaintListenerIID },
|
||||
|
||||
{ "ondragenter", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragover", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragexit", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondragdrop", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
{ "ondraggesture", nsnull, &NS_GET_IID(nsIDOMDragListener) },
|
||||
|
||||
{ nsnull, nsnull, nsnull }
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче