added GetJSThread(), to obtain the thread ID to send events to via nsIThreadManager::PostEvent().
git-svn-id: svn://10.0.0.236/trunk@27124 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
13af5e24ac
commit
edb049b30e
@ -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;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user