Closed Bug 386144 Opened 17 years ago Closed 7 years ago

X11 windowless plugin example

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: karlt, Unassigned)

References

Details

Attachments

(2 files, 1 obsolete file)

It would be nice to have a windowless plugin example for X11 in the tree,
to demonstrate how to use the API.
This is from attachment 267964 [details] [diff] [review] "X11 windowless plugin support 0.2" in bug 137189.

It uses the windowless drawing but doesn't test input events, and "unixprinting" doesn't really seem right for a windowless plugin sample.
This example demonstrates drawing, input events, and dialog boxes.
I think the only notable part of the API not used is window->clipRect.

This patch is an updated version from attachment 267965 [details] [diff] [review] in bug 137189.
The most notable difference is the use of the toplevel browser window to make the dialogs modal.

diamondx-0.1 is available from http://multimedia.cx/diamondx/
It is copyright Adobe, licence BSD.
updated for NPNVSupportsWindowless from bug 386537
Attachment #270132 - Attachment is obsolete: true
Blocks: 458100
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: