
There were 32 linux documents in docs. It's getting out of hand, so lets move them to a subdirectory. R=sky,jorgelo CC=thestig BUG=None Change-Id: Ib7de415c72fe6ec3c51dc2b28f06b34487b5b6d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1974901 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org> Cr-Commit-Position: refs/heads/master@{#726499}
2.1 KiB
2.1 KiB
Linux Plugins
Background reading materials
Plugins in general
- Gecko Plugin API reference -- most important to read
- Mozilla plugins site
- XEmbed extension -- newer X11-specific plugin API
- NPAPI plugin guide from GPLFlash project
Chromium-specific
- Chromium's plugin architecture -- may be out of date but will be worth reading
Code to reference
- Mozilla plugin code -- useful reference
- nspluginwrapper -- does out-of-process plugins itself
Terminology
- Internal plugin: "a plugin that's implemented in the chrome dll, i.e. there's no external dll that services that mime type. For Linux you'll just have to worry about the default plugin, which is what shows a puzzle icon for content that you don't have a plugin for. We use that to allow the user to download and install the missing plugin."
Flash
- Adobe Flash player dev center
- penguin.swf -- blog about Flash on Linux
- tips and tricks -- user-created page, with
some documentation of special flags in
/etc/adobe/mms.cfg
- official Adobe bug tracker
Useful Tools
xwininfo -tree
-- lets you inspect the window hierarchy of a window and get the layout of child windows.- "DiamondX is a simple NPAPI plugin built
to run on Unix platforms and exercise the XEmbed browser extension."
- To build a 32-bit binary:
./configure CFLAGS='-m32' LDFLAGS='-L/usr/lib32 -m32'
- To build a 32-bit binary: