Mobile/Flash: Difference between revisions

 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
Plugins are implemented on Android using an extended version of NPAPI. The extensions are used for drawing, playing audio, finding fonts, pretty much everything.
Plugins are implemented on Android using an extended version of NPAPI. The extensions are used for drawing, playing audio, finding fonts, pretty much everything.


The plugin requests the extended APIs via NPN_getvalue. For each interface, Firefox returns a struct that contains function pointers which implement the interface. There a great many of these, and we have not implemented everything yet. Below I've outlined all of the interfaces and marked which ones are complete, partial, or incomplete.
The plugin requests the extended APIs via NPN_getvalue. For each interface, Firefox returns a struct that contains function pointers which implement the interface. There a great many of these, and we have not implemented everything yet. Below I've outlined all of the interfaces and marked which ones are complete, partial, or incomplete. The definitions of the interfaces, including associated types, can be found [http://mxr.mozilla.org/mozilla-central/source/dom/plugins/base/android/android_npapi.h here].


{| class="wikitable"
{| class="wikitable"
Line 32: Line 32:
|-
|-
| ANPWindowInterfaceV0
| ANPWindowInterfaceV0
| style="background-color: yellow; color: white" | PARTIAL
<br/>
Missing: fullscreen, page visibility, keyboard
| style="background-color: yellow" | PARTIAL
|-
|-
| ANPWindowInterfaceV1
| ANPWindowInterfaceV1
Confirmed users
414

edits