Commit Graph

773 Commits

Author SHA1 Message Date
Robert O'Callahan
acd735ba81 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
Doug Turner
be374041ff Bug 492848 - Visibility notify event API for windowless plugins. r=roc 2009-10-26 00:00:14 -07:00
Oleg Romashin
f54f40796d Bug 472821 - Force wmode preference required to make all plugins visible in fennec. r=joshmoz, sr=jst 2009-10-26 04:46:03 -04:00
Robert O'Callahan
ce24a2ae99 Bug 520316. Call DetachWidgetEventHandler on the right view. r=dbaron 2009-10-10 00:48:29 +13:00
Robert O'Callahan
b823ccb3e2 Bug 520436. Interpret NPN_InvalidateRect rectangles as relative to the content-box, not the border-box. r=josh 2009-10-05 23:07:30 +13:00
Robert O'Callahan
e825638626 Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron 2009-09-30 08:18:20 +10:00
Robert O'Callahan
2bb689c432 Bug 508945. Additional fixes for plugin printing when the plugin has borders or padding. r=dbaron 2009-09-11 13:44:20 +12:00
Robert O'Callahan
b065c8c64a Bug 508495. Remove CreateWidgetForView from nsIFrame and nsObjectFrame since it's no longer used there. r=dbaron 2009-09-30 07:32:43 +10:00
Robert O'Callahan
ebc4bb841d Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron 2009-09-11 13:44:20 +12:00
Robert O'Callahan
9d5b5ae49a Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron 2009-09-07 12:35:14 +12:00
Robert O'Callahan
e0cfa042e1 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh 2009-09-24 21:32:20 +12:00
David Zbarsky
aadd6cf119 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Steven Michaud
bc14307611 Bug 516249 - [10.6] Wrong event modifiers passed to plugin on switching Spaces with Ctrl-<number key>. r=josh 2009-09-25 15:10:04 -05:00
Josh Aas
060edbf687 Stop sending bogus (incomplete) events to plugins on Mac OS X when the object frame is asked to handle events we don't care about. b=518135 r=roc 2009-09-24 17:03:50 -04:00
Markus Stange
9bd507e985 Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc 2009-09-24 18:18:10 +12:00
Josh Aas
04f094714f Fix dragging in Google Maps street view on Mac OS X. b=516602 r=roc 2009-09-22 21:52:49 -04:00
Josh Aas
eaee6268b8 64-bit Mac OS X fixes for nsObjectFrame.cpp. b=518184 r=roc 2009-09-22 18:17:41 -04:00
Rich Walsh
dc8474298e [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Josh Aas
2807b75578 Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Zack Weinberg
b6fe8205dd Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Markus Stange
a804657bdd Bug 514988 - Remove unused nsIEventListener interface and update users. r=roc 2009-09-08 09:50:22 +12:00
Neil Deakin
faa506c0a5 Bug 501815, don't allow drops on plugins, r=smaug 2009-08-27 08:51:46 -07:00
Josh Aas
4024ef66d5 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
Boris Zbarsky
c95cebf89b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange. 2009-08-24 20:51:57 -04:00
David Zbarsky
630c8fc41e Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
83a447b4b6 Bug 506628 deadcode in nsPluginInstanceOwner::ProcessEventX11Composited
r=karlt
2009-08-12 11:49:54 +02:00
c545f6f7a8 Bug 506627 find_dest_id abuses XQueryTree
r=karlt
2009-08-12 11:49:54 +02:00
Robert O'Callahan
18f6db24ac Bug 506304. Support synthesized mouse events being sent to windowless plugins, support reporting mouse event coordinates from the test plugin, and add tests for mouse events. r=josh 2009-08-05 13:36:37 +12:00
Robert O'Callahan
10f9dc80f7 Bug 506304. Walk all the way up to the nearest widget when computing event coordinates for windowless plugins. r=bz 2009-07-30 14:56:52 +12:00
Robert O'Callahan
6a54a7f2c9 Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron 2009-07-22 12:45:14 +12:00
Robert O'Callahan
e46dcd2d99 Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan
05272ea90c Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
63894ccfd8 Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms. 2009-07-22 12:45:02 +12:00
Robert O'Callahan
20a1764c05 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Robert O'Callahan
f3321d7627 Bug 339548. Part 6: Uninline IsMovingFrame so nsDisplayList.h doesn't have to include nsLayoutUtils.h. r=dbaron 2009-07-22 12:44:57 +12:00
Steven Michaud
7ec0037c62 [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
Benjamin Smedberg
8302858492 nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst 2009-07-13 12:27:46 -04:00
Josh Aas
8cf3f73f56 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Josh Aas
66163e0a7e Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
Josh Aas
c89a4a2fd4 Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Josh Aas
51789a80ef Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas
c84e32150d Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas
e8bcf803ef Windows bustage fix for bug 500889. 2009-06-29 15:38:09 -04:00
Josh Aas
6878d98163 Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
Robert O'Callahan
99414c4eb5 Bug 500630. Clip Cocoa plugins to theheir bounds, so an errant plugin won't draw outside its bounds and leave artifacts. r=josh 2009-06-29 10:52:11 +12:00
Josh Aas
f73f476e53 Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst 2009-06-28 19:43:19 -04:00
Johnny Stenback
ac38e8b06f Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com 2009-06-26 07:57:26 -07:00
Josh Aas
9d35828ca2 Bustage fix for bug 500593. 2009-06-26 10:54:51 -04:00
Josh Aas
d7ea1b9379 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00