зеркало из https://github.com/mozilla/gecko-dev.git
Weird!?
This commit is contained in:
Родитель
a2d83da8db
Коммит
3986d0da89
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче