Changed events names to "create" and "destroy".

git-svn-id: svn://10.0.0.236/trunk@34340 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
1999-06-09 01:11:22 +00:00
parent 0f2b50816a
commit 7af8deae73
4 changed files with 6 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ static char* mEventNames[] = {
"mouseout", "mousemove", "keydown", "keyup", "keypress",
"focus", "blur", "load", "unload", "abort", "error",
"submit", "reset", "change", "paint" ,"text",
"construct", "destruct"
"create", "destroy"
};
nsDOMEvent::nsDOMEvent(nsIPresContext* aPresContext, nsEvent* aEvent) {

View File

@@ -340,11 +340,11 @@ nsresult nsEventListenerManager::GetIdentifiersForType(const nsString& aType, ns
aIID = kIDOMPaintListenerIID;
*aFlags = NS_EVENT_BITS_PAINT_PAINT;
} // extened this to handle IME related events
else if (aType == "construct") {
else if (aType == "create") {
aIID = kIDOMLoadListenerIID;
*aFlags = NS_EVENT_BITS_LOAD_CONSTRUCT;
}
else if (aType == "destruct") {
else if (aType == "destroy") {
aIID = kIDOMLoadListenerIID;
*aFlags = NS_EVENT_BITS_LOAD_DESTRUCT;
}

View File

@@ -37,7 +37,7 @@ static char* mEventNames[] = {
"mouseout", "mousemove", "keydown", "keyup", "keypress",
"focus", "blur", "load", "unload", "abort", "error",
"submit", "reset", "change", "paint" ,"text",
"construct", "destruct"
"create", "destroy"
};
nsDOMEvent::nsDOMEvent(nsIPresContext* aPresContext, nsEvent* aEvent) {

View File

@@ -340,11 +340,11 @@ nsresult nsEventListenerManager::GetIdentifiersForType(const nsString& aType, ns
aIID = kIDOMPaintListenerIID;
*aFlags = NS_EVENT_BITS_PAINT_PAINT;
} // extened this to handle IME related events
else if (aType == "construct") {
else if (aType == "create") {
aIID = kIDOMLoadListenerIID;
*aFlags = NS_EVENT_BITS_LOAD_CONSTRUCT;
}
else if (aType == "destruct") {
else if (aType == "destroy") {
aIID = kIDOMLoadListenerIID;
*aFlags = NS_EVENT_BITS_LOAD_DESTRUCT;
}