Commit Graph

929 Commits

Author SHA1 Message Date
Timothy Nikkel
84a9603822 Bug 542900. nsPluginInstanceOwner::Init should be calling AddScrollPositionListener. r=roc 2010-01-28 18:03:52 -06:00
Timothy Nikkel
d5f081c0a3 Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc 2010-01-28 18:03:42 -06:00
Benjamin Smedberg
4ad7cb72d4 revert changeset f61e06c31086 (bug 542971) since it caused bug 543376. 2010-02-02 17:18:37 -08:00
Josh Aas
3f6175143f Get rid of nsPluginInstanceTag. Clarifies the plugin object hierarchy and makes it easier to get from one object to another. We avoid unnecessary null checks and strong references due to clarified lifetimes dependencies between objects. Makes all of this code less error-prone. b=542971 r=jst 2010-01-29 14:42:54 -05:00
Mats Palmgren
fc0edb96d1 Register the frame also when the widget already existed (re-instantiating a stopped plugin). b=542608 r=roc 2010-01-28 21:58:04 +01:00
Mats Palmgren
1daab4a3d5 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Josh Aas
d2a6ecd388 Pointer to NP_CGContext should be NULL in Cocoa NPAPI event model. b=541018 r=smichaud 2010-01-24 01:00:39 -05:00
Steven Michaud
ffb5ed1705 Bug 525078 - Make plugin mouse up/down/dragging behavior conform to OS X practice and Cocoa NPAPI spec clarifications. r=josh 2010-01-22 14:57:04 -06:00
Doug Turner
c83ff76212 Bug 541259 - Kung Fu Death Grip Hildon specific methods. r=jst 2010-01-21 20:51:46 -08:00
Brad Lassey
01d2e98727 Bug 540795 - NotifyPluginEventObservers crashes. r=jst 2010-01-21 07:17:52 -08:00
Doug Turner
4da3cd1163 Bug 540843 - Do not cache dom element in nsObjectFrame shm code. r=olli. Maemo only 2010-01-20 14:08:50 -08:00
Ben Turner
58f2affa6d Bug 535036 - '[OOPP] Flash hangs Firefox with IPC enabled when video is paused and process loses focus'. r=masayuki+jst, sr=jst. 2010-01-15 12:36:00 -08:00
Jim Mathies
935cfa6fc4 Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg. 2010-01-13 19:46:44 -06:00
Robert O'Callahan
3fe68af34a Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats 2009-09-09 17:40:01 +12:00
Robert O'Callahan
f3b7e90c94 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Robert O'Callahan
83b8406a3f Bug 537309. Synthesize WM_*DBLCLK on NS_MOUSE_BUTTON_DOWN, not NS_MOUSE_DOUBLECLICK (since the latter fires on mouse-up). r=jmathies 2010-01-07 13:55:09 +13:00
Karl Tomlinson
e8d79c84ee b=526797 move expose event origin when possible to workaround Flash bug r=roc 2009-12-31 16:16:23 +13:00
Michael Wu
3bcdc9337b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
d4b36dd9b2 Bug 507811 - "NS_KEY_PRESS not handled by windowless plugins" [r=karlt] 2009-12-30 20:56:55 -06:00
Boris Zbarsky
49d5048a77 Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
fantasai
f76a01be55 Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
Mark Finkle
f8e914ee44 Bug 536199 - Crash Yahoo! frontpage with 12/21 1.9.2 nightly build [r=dougt] 2009-12-22 16:59:34 -05:00
Josh Aas
3e40b2e0d0 Scroll position updates shouldn't start the Carbon plugin idle event timer. b=535630 r=smichaud 2009-12-17 15:41:13 -05:00
Robert O'Callahan
cfa3bb93ab Bug 526216 - mochitest-browser-chrome: crash in nsObjectFrame::IsOpaque while running browser_pluginnotification.js and test_crashing.html, r=josh 2009-12-17 09:56:24 -05:00
Doug Turner
ee884e8fa3 Bug 535338 - UpdateVisibility should call VisibilityFullyObscured when clip is zero. r=roc 2009-12-16 14:08:14 -08:00
Benjamin Smedberg
0b4364d7e3 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas
9f11d26e12 Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Jim Mathies
985443560c Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
5f7fda081a Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Benjamin Smedberg
09f29fb7a7 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Jim Mathies
fb496dc8b0 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Doug Turner
ba8871aef3 Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger 2009-11-30 09:09:26 -08:00
Doug Turner
c060bbabf9 Bug 530739 - Intermittent Shutdown crash after visiting a page with flash video. r=jst 2009-11-25 18:38:22 -08:00
Doug Turner
38bc258701 Bug 530652 - Some sites not render flash. r=karlt 2009-11-24 05:57:58 -08:00
Doug Turner
ddc818bfdb Bug 530380 - Avoid slow path painting on Hildon. r=karlt. 2009-11-23 14:46:01 -08:00
Doug Turner
651529a0cb Bug 530378return early to avoid crashing
. r=karlt
2009-11-22 22:36:22 -08:00
Doug Turner
c0a89808a7 Bug 530381 - Cache X11 GC for NativeImageDraw. r=karlt 2009-11-22 15:46:42 -08:00
Doug Turner
c85add2c8b Bug 529996 - Provide notification when embed/object elements are created/destroyed/resized. r=jst. 2009-11-20 14:59:27 -08:00
Doug Turner
6943dc81d8 Bug 528551 - Faster plugin drawing in Fennec. Fixes mac unit test. r=sicking 2009-11-20 09:51:06 -08:00
Doug Turner
baa5803106 Bug 528551- Faster plugin drawing in Fennec. r=jst/karlt. 2009-11-20 08:26:10 -08:00
Olli Pettay
2e3d0c93fe Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron 2009-12-10 20:02:13 -08:00
Doug Turner
fecf6394ef Bug 532328 - plugin bustage on Qt. r=karlt 2009-12-08 10:54:48 -08:00
Josh Aas
e0f089d04d Move Carbon plugin idle event rate back up to 8 events per second to avoid Flash audio stuttering. b=525533 r=roc 2009-11-17 15:36:33 -05:00
Doug Turner
161ccb954f Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
4e8766448e Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Josh Aas
8108fa24ae Remove unnecessary event handling cases for NS_ACTIVATE/NS_DEACTIVATE in nsObjectFrame. b=526633 r=roc 2009-11-10 16:54:29 -05:00
Josh Aas
549c93b914 64-bit Mac OS X bustage fix, b=527115 2009-11-10 11:51:55 -05:00
Josh Aas
aba4e18156 Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Josh Aas
c60319aa66 Rename confusing nsPluginInstanceOwner variable to something less confusing (mOwner -> mObjectFrame). b=526953 r/sr=jst 2009-11-08 16:52:46 -05:00
Josh Aas
749564eefb Add support for scrollwheel events to Cocoa NPAPI. b=519100 r=roc 2009-11-08 16:51:46 -05:00