On 12-07-24 1:40 AM, Boris Zbarsky wrote:
On 7/24/12 12:36 AM, Jason Duell wrote:
Do we have any way within our NPAPI functions to determine what docshell
the plugin is displaying content in?
In the code you're looking at (nsNPAPIPlugin.cpp), use
GetDocumentFromNPP() and then get the docshell from the document in the
normal way?
-Boris
In particular, there's already code for obtaining the PB status here:
http://mxr.mozilla.org/mozilla-central/source/dom/plugins/base/nsNPAPIPlugin.cpp#2090
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform