Bug 672857 - Make IM work for IPC plugins in remote browser. r=karlt
This commit is contained in:
@@ -842,6 +842,23 @@ nsNPAPIPluginInstance::AsyncSetWindow(NPWindow* window)
|
||||
return library->AsyncSetWindow(&mNPP, window);
|
||||
}
|
||||
|
||||
#if defined(MOZ_WIDGET_QT) && (MOZ_PLATFORM_MAEMO == 6)
|
||||
nsresult
|
||||
nsNPAPIPluginInstance::HandleGUIEvent(const nsGUIEvent& anEvent, bool* handled)
|
||||
{
|
||||
if (RUNNING != mRunning) {
|
||||
*handled = false;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
AutoPluginLibraryCall library(this);
|
||||
if (!library)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
return library->HandleGUIEvent(&mNPP, anEvent, handled);
|
||||
}
|
||||
#endif
|
||||
|
||||
nsresult
|
||||
nsNPAPIPluginInstance::GetImage(ImageContainer* aContainer, Image** aImage)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user