Bug 561817 part B - Install the nested event loop tracking mechanism for all RPC calls to plugins, not just specific handle-event calls, r=jimm

This commit is contained in:
Benjamin Smedberg
2010-04-30 14:42:51 -04:00
parent 7bdd841d04
commit e20fead398
10 changed files with 106 additions and 114 deletions

View File

@@ -784,6 +784,20 @@ PluginModuleParent::AnswerProcessSomeEvents()
}
#endif
bool
PluginModuleParent::RecvProcessNativeEventsInRPCCall()
{
PLUGIN_LOG_DEBUG(("%s", FULLFUNCTION));
#if defined(OS_WIN)
ProcessNativeEventsInRPCCall();
return true;
#else
NS_NOTREACHED(
"PluginInstanceParent::AnswerSetNestedEventState not implemented!");
return false;
#endif
}
#ifdef OS_MACOSX
#define DEFAULT_REFRESH_MS 20 // CoreAnimation: 50 FPS
void