X11 windowless plugin example

RESOLVED INCOMPLETE

Status

()

defect
RESOLVED INCOMPLETE
12 years ago
2 years ago

People

(Reporter: karlt, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

Reporter

Description

12 years ago
It would be nice to have a windowless plugin example for X11 in the tree,
to demonstrate how to use the API.
Reporter

Comment 1

12 years ago
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.
Reporter

Comment 2

12 years ago
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.
Reporter

Comment 3

12 years ago
updated for NPNVSupportsWindowless from bug 386537
Attachment #270132 - Attachment is obsolete: true

Comment 4

2 years ago
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.