Bug 568513 - Implement NPN_PopUpContextMenu. r=josh a=blocking-beta3

This commit is contained in:
Benoit Girard
2010-07-29 18:38:32 -04:00
parent e7a4c1dac3
commit d066152eb0
8 changed files with 269 additions and 5 deletions

View File

@@ -38,6 +38,8 @@
#ifdef MOZ_WIDGET_GTK2
#include <glib.h>
#elif XP_MACOSX
#include "PluginUtilsOSX.h"
#endif
#ifdef MOZ_WIDGET_QT
#include <QtCore/QCoreApplication>
@@ -771,6 +773,14 @@ PluginModuleParent::AnswerProcessSomeEvents()
return true;
}
#elif defined(XP_MACOSX)
bool
PluginModuleParent::AnswerProcessSomeEvents()
{
mozilla::plugins::PluginUtilsOSX::InvokeNativeEventLoop();
return true;
}
#elif !defined(MOZ_WIDGET_GTK2)
bool
PluginModuleParent::AnswerProcessSomeEvents()