The default bug view has changed. See this FAQ.

X11 windowless plugin example

NEW
Unassigned

Status

()

Core
Plug-ins
10 years ago
9 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

10 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

10 years ago
Created attachment 270128 [details] [diff] [review]
windowless unixprinting

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

10 years ago
Created attachment 270132 [details] [diff] [review]
windowless mode support 2 for diamondx-0.1

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

10 years ago
Created attachment 285792 [details] [diff] [review]
 windowless mode support 3 for diamondx-0.1  (with NPNVSupportsWindowless)

updated for NPNVSupportsWindowless from bug 386537
Attachment #270132 - Attachment is obsolete: true
Blocks: 458100
You need to log in before you can comment on or make changes to this bug.