This commit is contained in:
hyatt%netscape.com 2000-09-07 09:20:56 +00:00
Родитель a2d83da8db
Коммит 3986d0da89
2 изменённых файлов: 20 добавлений и 12 удалений

Просмотреть файл

@ -212,11 +212,21 @@ nsDOMEvent::GetCurrentTarget(nsIDOMEventTarget** aCurrentTarget)
NS_IMETHODIMP
nsDOMEvent::GetOriginalTarget(nsIDOMEventTarget** aOriginalTarget)
{
if (!mOriginalTarget)
return GetTarget(aOriginalTarget);
*aOriginalTarget = mOriginalTarget;
NS_IF_ADDREF(*aOriginalTarget);
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::HasOriginalTarget(PRBool* aResult)
{
*aResult = (mOriginalTarget != nsnull);
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::GetEventPhase(PRUint16* aEventPhase)
{
@ -1053,12 +1063,6 @@ nsDOMEvent::IsDispatchStopped(PRBool* aIsDispatchStopped)
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::GetRealTarget(nsIDOMEventTarget** aRealTarget)
{
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::IsHandled(PRBool* aIsHandled)
{

Просмотреть файл

@ -212,11 +212,21 @@ nsDOMEvent::GetCurrentTarget(nsIDOMEventTarget** aCurrentTarget)
NS_IMETHODIMP
nsDOMEvent::GetOriginalTarget(nsIDOMEventTarget** aOriginalTarget)
{
if (!mOriginalTarget)
return GetTarget(aOriginalTarget);
*aOriginalTarget = mOriginalTarget;
NS_IF_ADDREF(*aOriginalTarget);
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::HasOriginalTarget(PRBool* aResult)
{
*aResult = (mOriginalTarget != nsnull);
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::GetEventPhase(PRUint16* aEventPhase)
{
@ -1053,12 +1063,6 @@ nsDOMEvent::IsDispatchStopped(PRBool* aIsDispatchStopped)
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::GetRealTarget(nsIDOMEventTarget** aRealTarget)
{
return NS_OK;
}
NS_IMETHODIMP
nsDOMEvent::IsHandled(PRBool* aIsHandled)
{