Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg

This commit is contained in:
Olli Pettay
2009-11-17 16:22:23 +02:00
parent a1ff0fbfc2
commit 0f12e7ac17
24 changed files with 537 additions and 4 deletions

View File

@@ -1493,3 +1493,16 @@ nsFrameLoader::SendCrossProcessMouseEvent(const nsAString& aType,
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP
nsFrameLoader::ActivateFrameEvent(const nsAString& aType,
PRBool aCapture)
{
#ifdef MOZ_IPC
if (mChildProcess) {
mChildProcess->SendactivateFrameEvent(nsString(aType), aCapture);
return NS_OK;
}
#endif
return NS_ERROR_FAILURE;
}