added GetJSThread(), to obtain the thread ID to send events to via nsIThreadManager::PostEvent().
This commit is contained in:
Родитель
45969d01c6
Коммит
96d0939cb4
|
@ -45,6 +45,15 @@ public:
|
|||
*/
|
||||
NS_IMETHOD
|
||||
GetJSWindow(JSObject* *outJSWindow) = 0;
|
||||
|
||||
/**
|
||||
* Get the JavaScript execution thread corresponding to this plugin instance.
|
||||
*
|
||||
* @param outThreadID - the resulting JavaScript thread
|
||||
* @result - NS_OK if this operation was successful
|
||||
*/
|
||||
NS_IMETHOD
|
||||
GetJSThread(PRUint32 *outThreadID) = 0;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -45,6 +45,15 @@ public:
|
|||
*/
|
||||
NS_IMETHOD
|
||||
GetJSWindow(JSObject* *outJSWindow) = 0;
|
||||
|
||||
/**
|
||||
* Get the JavaScript execution thread corresponding to this plugin instance.
|
||||
*
|
||||
* @param outThreadID - the resulting JavaScript thread
|
||||
* @result - NS_OK if this operation was successful
|
||||
*/
|
||||
NS_IMETHOD
|
||||
GetJSThread(PRUint32 *outThreadID) = 0;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче