Commit graph

4 commits

Author SHA1 Message Date
Maks Orlovich 8c731bc1d4 automatically merged revision 768871:
Make flash embedding work much better..
- Make sure to give distinct callback objects distinct IDs, so they
talk to the proper KHTMLPart. Fixes only one flash object working per
window
- Rework the size/init heuristics yet again, following closer to Seli's code,
but instead of trying to count events, etc., just have the part
tell us when we were really resized, and qwidget isn't making up a random

svn path=/trunk/KDE/kdebase/apps/; revision=768880
2008-01-30 20:54:20 +00:00
Maks Orlovich 3980953c02 automatically merged revision 768870:
- Make the XEmbed host embed directly, removing 2 layers of embedding,
upon suggestion of Seli, hopefully making things more robust
- Be more careful in initializing the plugin, to avoid extra NPSetWindow calls
- Workaround Qt bug in the Xt host, to avoid annoying flicker of an unembedded

svn path=/trunk/KDE/kdebase/apps/; revision=768878
2008-01-30 20:51:18 +00:00
Maks Orlovich 6b1ed28114 Refactor some duplicated stuff out...
svn path=/trunk/KDE/kdebase/apps/; revision=748198
2007-12-13 20:44:08 +00:00
Maks Orlovich d7cf6af919 Commiting my current nspluginviewer work tree. This
has the viewer <-> part interface mostly fixed, and 
has beginnings of an XEmbed host for the plugin.
Unfortunately, that works part of the time at best 
with r115, (probably none of the time on sites other than 
youtube), and is quite  crashy, partly because XEmbed flash
uses Xt anyway(!). I may have to go back to Xt only, not sure. 
(Of course, Xt plugins don't work at all ATM). I need to consult
with some people on the best course of action, since this is getting very tricky, 
and somewhat outside my area of expertise.
======================================================
Add beginning of an XEmbed host. It partly works --- youtube works part of the time;
but at least the playback window gets parented and sized properly

svn path=/trunk/KDE/kdebase/apps/; revision=748156
2007-12-13 19:09:08 +00:00