Commit Graph

598 Commits

Author SHA1 Message Date
Robert O'Callahan
3e30bf4a46 Bug 749075. Part 1: Refactor the nsDisplayItem API for testing whether the item needs to be rendered to a transparent surface. r=mattwoodrow
Currently we return an extra out parameter on GetOpaqueRegion. This is ugly and it's also going to be inefficient
because in a followup patch I'm going to avoid calls to GetOpaqueRegion, but we still need to know whether the item
needs a transparent surface. So this patch removes that out parameter. Instead, we rely on the fact that only
Windows' glass-window-background display item needs to force a transparent surface, and there can only be one
of those per window. So we store a reference to it in the nsDisplayListBuilder if there is one, and then we can
efficiently tell if any leaf display item is the one that forces a transparent surface. For display items that
wrap a list, we continue to store whether they need to force a transparent surface in a boolean in the list.
2012-05-03 16:29:05 +12:00
Robert O'Callahan
d0dd680745 Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Edwin Flores
2930697827 Bug 738392 - Fix plugins not rendering inside CSS transform on Mac OSX r=roc 2012-03-23 11:21:57 -07:00
James Willcox
fb9607dbb7 Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Bas Schouten
49606a96fc Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc 2012-03-13 01:41:34 +00:00
Daniel Holbert
aaff4a9f4a Backout f667f6c22bed (Bug 732988) for linux Cipc orange 2012-03-11 16:41:39 -07:00
Bas Schouten
e99a373cb6 Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc 2012-03-11 22:33:23 +00:00
Josh Aas
9dbad6aafb Bug 723523: Plugin crash fix, nsPluginInstanceOwner::CreateWidget. r=jmathies 2012-03-07 11:48:30 -05:00
Nathan Froyd
72e8d1d540 Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Bas Schouten
87964f395c Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Josh Aas
5fbfe94a5b Bug 724717: Fix crash at nsPluginInstanceOwner::CARefresh. r=benwa 2012-02-16 21:27:37 -05:00
Bas Schouten
b0ee08da26 Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc 2012-02-08 16:34:27 +01:00
Mats Palmgren
2b8eb15062 Bug 723659 - Cancel the reflow callback request when the frame is destroyed. r=roc 2012-02-06 12:47:11 +01:00
Jim Mathies
5a62d70df3 Bug 683059 - Fix for Crash [@ nsObjectFrame::IsOpaque] with applet and changing style onunload. r=josh 2012-02-02 16:55:25 -06:00
Matt Brubeck
7e74c1f71e Merge mozilla-central and mozilla-inbound 2012-02-01 17:09:34 -08:00
Josh Aas
b0e5e866d9 Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
James Willcox
ced0347f0e Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Boris Zbarsky
403d51ce98 Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds. 2012-01-31 23:38:35 -05:00
James Willcox
9334322db3 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Bas Schouten
f987b74374 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Ed Morley
388e7e6979 Backout b87113ff33ff (bug 721741) for Android build failures 2012-01-31 16:19:00 +00:00
James Willcox
fd3a41a585 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Jeff Muizelaar
9c9e2eed37 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
James Willcox
f2a22733cd Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Matt Brubeck
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Nicholas Nethercote
56767a7167 Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron. 2011-12-19 19:46:39 -08:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Josh Aas
9821007204 Bug 562442: Plugin crash fix (parent process). r=jmathies 2011-11-01 14:52:20 -04:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Josh Aas
b258d496c8 Bug 649079: Plugin crash fix (parent process). r=bz 2011-10-27 16:00:49 -04:00
Neil Deakin
b9741fe3c6 Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Neil Deakin
731458c274 Bug 694224, remove appshell argument from various widget creation methods, r=roc 2011-10-14 09:06:39 -04:00
Josh Aas
6f07f0eace Bug 690834: Replace PR_TRUE and PR_FALSE with true and false in in plugin code outside of dom/plugins. r=roc 2011-10-01 11:43:07 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley
848e923aa5 Merge last green changeset on mozilla-central to mozilla-inbound 2011-09-19 12:27:35 +01:00
Oleg Romashin
5446af8efb Bug 687392 - Use nearest filter for mobile video/plugin rendering. r=roc 2011-09-19 12:12:16 +01:00
Ed Morley
14281d90d0 Merge last green changeset on mozilla-inbound to mozilla-central 2011-09-18 20:23:17 +01:00
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Doug Turner
fa4f75d7e3 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Ed Morley
00e6fcf8b2 Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms 2011-09-17 00:27:55 +01:00
Doug Turner
0ef3efa1a5 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Josh Aas
32d0be0cd8 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Josh Aas
4ab4397277 Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Oleg Romashin
9ed09830e6 Bug 621228 - Make plugins listening presShell SetActive calls. r=jst 2011-08-18 22:08:38 +02:00
Jonas Sicking
5491caaaf4 Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Benoit Girard
952c2f25af Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Benoit Girard
474b757db7 Bug 663259 - Part 2: Restore Synchronous plugin rendering, with preference for async rendering. r=smichaud 2011-06-30 12:46:26 -04:00
Benoit Girard
2655767197 Bug 663259 - Part 1: Mac Async rendering fixes. r=josh 2011-06-30 12:46:25 -04:00
Mounir Lamouri
d8b025aad8 Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression. 2011-06-27 14:52:57 +02:00
Benoit Girard
6455de56ad Enabled Mac Async plugin by default + Fixes. b=663259 r=josh 2011-06-25 15:12:59 -04:00
Craig Topper
43c8429d0c Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
--HG--
extra : rebase_source : b828e73151ceb8cb59e1d8f7c0671dc88397057c
2011-04-28 22:02:16 -07:00
Robert O'Callahan
93793566d0 Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been
applied when BuildLayer returns a ContainerLayer.

This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the
transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be
before constructing the children, which in the next patch will let us construct the children with the right resolution.
2011-06-23 00:11:27 +12:00
Ed Morley
7bd9e7ed4a Bug 665723 - Fix unused variable warnings in layout/generic/; r=roc 2011-06-21 17:37:47 +02:00
Steven Michaud
efe681f006 Bug 661636 - [10.7 SDK] QuickDraw APIs undefined when doing 32-bit builds using the OS X 10.7 SDK. r=bgirard 2011-06-11 09:12:58 +02:00
Mounir Lamouri
dbc8f56eea Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Benoit Girard
468e5acf13 Asynchronous layer-based plugin painting on Mac b=598425 r=roc,josh 2011-05-19 17:08:14 -04:00
Josh Aas
aceea2590e Bug 660721: Move nsPluginInstanceOwner to its own files. r=roc
--HG--
rename : layout/generic/nsObjectFrame.cpp => dom/plugins/base/nsPluginInstanceOwner.cpp
2011-06-01 00:37:54 -04:00
Daniel Holbert
8e2fd7a748 Bug 662089: Make text after #endif in nsObjectFrame.cpp into a comment, to fix build warning. r=roc 2011-06-06 11:02:28 -07:00
Masayuki Nakano
1f171993d1 Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc 2011-05-27 13:53:03 +09:00
Josh Aas
7e100ff63c Bug 606641: When creating a plugin from a stream, use the same creation path for both embedded and full screen plugins. r=jst 2011-05-26 21:49:56 -04:00
Oleg Romashin
d0ac388d68 Bug 624165 Cleanup plugins code, remove kill MOZ_COMPOSITED_PLUGINS and MOZ_USE_IMAGE_EXPOSE r=dougt 2011-05-25 16:54:30 -04:00
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Ms2ger
fb6f5dd0ca Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Doug Turner
7ae2a4a388 Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh 2011-05-21 11:21:49 -04:00
Josh Aas
998050c725 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Jim Mathies
9b7daaeb53 Bug 633282 - manual backout of 'fixup UpdatePossiblyTransparentRegion v.3' in bug 622328 due to merge conflicts. r=tn 2011-05-13 11:40:46 -05:00
Robert O'Callahan
84f36b4efc Bug 648277. Ensure we request a plugin geometry update for a new windowless plugin that may need its visibilty state updated. r=tnikkel 2011-05-13 02:59:21 +12:00
Masayuki Nakano
6a43b8a387 Bug 651694 Sort out NS_PLUGIN_EVENT r=roc 2011-05-11 13:52:44 +09:00
Josh Aas
1593af8e53 Bug 606641: Cleanup for plugin initialization. r=bz 2011-04-28 16:08:33 -04:00
Masatoshi Kimura
474a6690fc Bug 651113 - Remove windows-936 converter. r=smontagu
--HG--
extra : rebase_source : 4b0d09d815e2b7cfc008f8b5b987e597ceea9bbe
2011-04-27 10:37:00 +02:00
Walter Meinl
2eaf11b614 Bug 652361 - [OS/2] build break in nsObjectFrame after checkin for bug 266236 2011-04-25 10:59:07 -07:00
Daniel Holbert
3fbf68de0a Bug 583608: add #ifdef guards around mac-only static functions in nsObjectFrame.cpp. r=josh 2011-04-21 14:52:26 -07:00
Masayuki Nakano
816d0ec482 Bug 347185 Adding automated tests r=roc 2011-04-21 08:54:43 +09:00
Steven Michaud
889122621e Bug 651177 - [Mac] Crashes [@ nsObjectFrame::GetLayerState ]. r=bsmedberg 2011-04-19 14:13:58 -05:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Robert O'Callahan
c9b3d6063b Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones 2011-04-19 15:07:48 +12:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
75ad705b3b Bug 641426. Part 3.5: Remove usage of nsMargin::TopLeft and nsMargin::IsZero. r=dbaron 2011-04-19 15:07:22 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Zack Weinberg
5a4a96e54e Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Benjamin Smedberg
6620f620d9 Bug 617539 - Remove nsIPluginHost_MOZILLA_2_0_BRANCH, nsIPluginInstanceOwner_MOZILLA_2_0_BRANCH, and nsIPluginInstance_MOZILLA_2_0_BRANCH; r=jst 2011-04-11 16:00:30 -04:00
Josh Aas
70a155c558 Bug 636872: Allow CSS cursor property to be used for plugins. r=bz 2011-04-08 12:58:04 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Ms2ger
8abef9c63c Bug 647554 - Uninitialized variable oldSize in nsPluginInstanceOwner::InvalidateRect; r=mats 2011-04-07 21:56:13 -07:00
Benoit Girard
c8e9583cc3 Bug 647710: Fixed color profile leak. r=josh 2011-04-06 16:00:45 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Simon Montagu
c1998d7c2c Change x-gbk to gbk in charset titles. Bug 369403, r=emk 2011-03-30 08:35:36 +02:00
Benjamin Smedberg
c5cd1d7413 Bug 617539 - Integrate nsIFocusManager_MOZILLA_2_0_BRANCH back into the main interface, r=smaug 2011-03-25 11:03:33 -04:00
Josh Aas
fc34f968eb Bug 641621: Fix bug in which we misinterpret an NPError return value as an nsresult. r=bsmedberg 2011-03-23 11:46:09 -07:00
Steven Michaud
310a1f87bf Breakage fix for patch for bug 637367 (4da037fe27b0). a=breakage-fix 2011-03-18 15:27:20 -05:00
Steven Michaud
65c49866d2 Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner 2011-03-18 14:35:14 -05:00
Steven Michaud
472417e274 Bug 637367 - Add null checks to nsPluginInstanceOwner::DoCocoaEventDrawRect(). r=bsmedberg a=sayrer 2011-03-11 17:50:50 -06:00
Matt Woodrow
d23e549f03 Bug 637901 - Don't trash our cached ImageContainer unless the retained layer manager has changed. r=tnikkel a=blocking2.0 2011-03-02 21:53:27 +13:00
Matt Woodrow
15bcf64fe6 Bug 637367 - Add null checks to DrawPlugin. r+a=roc 2011-03-02 11:36:09 +13:00
Steven Michaud
e5b24adc59 Bug 627649 - [Mac] Some events incorrectly passed to a plugin that occur over the plugin. r=roc,josh a=blocking2.0final+ 2011-03-01 15:15:23 -06:00
Chris Jones
dcae2bd7ad Bug 637278: Fix indentation. r=roc a=b 2011-03-01 12:27:35 -06:00
Chris Jones
b24d5d1e6d Bug 637278: INVALIDATE_NO_UPDATE_LAYER_TREE should subsume INVALIDATE_NO_THEBES_LAYERS. r=tn sr=roc 2011-03-01 12:27:35 -06:00
<Robert O'Callahan> roc@ocallahan.org
5166267748 Bug 636114 - Crash [@ PluginBackgroundSink::~PluginBackgroundSink() ]; r=jones.chris.g approval2.0=johnath 2011-03-01 08:54:37 -04:00
Mats Palmgren
6d3f80df72 Bug 635405 - Zooming a windowless plugin frame can cause it to "bleed" outside its bounds. r+a=roc 2011-02-24 13:06:14 +01:00
Robert O'Callahan
20b9397753 Bug 630835. Make BuildLayer responsible for setting a visible region on the layer, and let FrameLayerBuilder only reduce it. r=tnikkel,a=blocking
This avoids problems with FrameLayerBuilder making the visible region bigger than we expected, invalidating CONTENT_OPAQUE flags set on the layer.
In particular, we had been using TransformBounds to compute the new visible region, and for non-axis-aligned transforms this gives us a visible
region which contains areas not actually painted by the layer contents.
2011-02-23 18:38:09 +13:00
Robert O'Callahan
8c2e30a98c Bug 634844. Part 2: Don't create a new Image in BuildLayer if we already have one. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
afda29e271 Bug 634844. nsPluginInstanceOwner::IsUpToDate should not create an Image for the plugin. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
134548e4e6 Bug 631388. Part 2: Don't let nsDisplayPlugin bounds depend on the ImageContainer's current image bounds, since that can change during display list processing. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Chris Jones
dd464c0e85 Bug 635191: If the object frame has gone away, there's no way to determine IsUpToDate(), so just dispatch the paint-finished event. r=roc a=b 2011-02-18 18:32:12 -06:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Mark Banner
9489346a91 Bustage fix for the bustage fix for bug 626602. Namespace statement is required, so just ifdef it for IPC builds. r+a=bustage fix 2011-02-16 19:43:36 -06:00
Chris Jones
2feec67e7c Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-16 16:43:31 -06:00
Robert O'Callahan
7344c3c89b Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel 2011-02-16 16:43:30 -06:00
Robert O'Callahan
354fb935c8 Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-16 16:43:30 -06:00
Matt Woodrow
488e30f398 Bustage fix (forgot to qref). r=jst, a=bustage 2011-02-15 21:48:01 -08:00
Matt Woodrow
662d11c11f Bug 591687. Disable emtpy transactions with mac plugin layers. r=roc, a=blocker. 2011-02-15 21:25:34 -08:00
Chris Jones
4c62c14fe1 Bug 631585: Don't try to create plugin widgets in content processes, it's never going to work. r=tn a=a 2011-02-15 15:45:02 -06:00
Benoit Girard
156483e4f4 Disable OSX Plugin Layer due to regression b=633826 r+a=josh,bustage
--HG--
extra : rebase_source : 3fb0ff372479b9b6fbcb7246747bf5d769c66361
2011-02-13 21:54:33 -05:00
Matt Woodrow
5cacf25656 Bug 591687: Create MacIOSurfaceImages for Core Animation plugins. r=roc r=josh a=blocking2.0betaN+ 2011-02-12 11:09:03 -05:00
Matt Woodrow
aaef3ddcc5 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow
d6a75cf690 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Timothy Nikkel
ce990249cb Bug 626343. Check return value when creating a plugin widget. r=roc a=blocking 2011-01-31 17:31:34 -06:00
Alexander Surkov
f1d1126c15 Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
Timothy Nikkel
0123cc0fff Bug 622328 - Always make sure the area of the root content document is considered opaque. r=roc, a=blocking. 2011-01-27 16:58:50 -06:00
Timothy Nikkel
22a457e410 Bug 626343. Remove incorrect view null check in plugin widget creation. r=roc a=blocking 2011-01-18 13:43:47 -06:00
Karl Tomlinson
9c22641396 Bug 617703 - Add plugin support and prevent crash [@ libflashplayer.so@0x32884 ][@ libflashplayer.so@0x32800 ] in Fennec r=romaxa a=approval2.0 2011-01-17 21:07:49 +02:00
Matt Woodrow
f5f4d25848 Bug 586683 - Part 4 - Move images into a separate ImageLayer when they are the only item in a ThebesLayer. r=roc a=blocking2.0 2011-01-18 10:47:18 +13:00
Oleg Romashin
8ab0673f0f Bug 619176 - Plugins get Visible state every time when scrolling (:BuildLayer always make them visible). r=roc a=approval2.0 2011-01-13 15:20:53 +02:00
Robert O'Callahan
e946441ff1 Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
87f3d1c20c Bug 620512. Part 1: Only fire MozPaintWait and change window visibility in BuildDisplayList if we're painting. r=bsmedberg, a=b:b9 2010-12-21 12:12:00 -08:00
Robert O'Callahan
635ece94a9 Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh 2010-12-20 14:37:43 +13:00
Bas Schouten
a218a71e7c Bug 620665 - Part 4: Also recreate container when types don't match. r=roc a=blocking-beta9 2010-12-29 01:07:09 +00:00
Robert O'Callahan
bfe2452ebc Bug 584251. Wallpaper around crash. r=joshmoz a=blocking-betaN+ 2010-12-24 14:37:03 -06:00
Steven Michaud
57a79c1b85 Bug 618487 - Divx Web Player Videos won't play on Vidbux.com and Vidxden.com and Movshare.net. r=josh a=blocking2.0BetaN+ 2010-12-20 13:49:37 -06:00
Robert O'Callahan
a687d70497 Bug 617152. Part 9: Use desired bounds in nsDisplayList::GetBounds, not actual bounds, when computing plugin geometry. r=tnikkel 2010-12-20 14:37:43 +13:00
Robert O'Callahan
b2eb2ce72f Bug 617152. Part 8.5: Fire MozPaintWait even if the plugin layer is currently zero-size. r=tnikkel 2010-12-20 14:37:43 +13:00
Robert O'Callahan
6f3afc714b Bug 617152. Part 4: Make sure to always fire a balancing MozPaintWaitFinished, even if the plugin dies suddenly, and make sure events are dispatched safely. r=dbaron 2010-12-20 14:37:43 +13:00
Timothy Nikkel
aeba075f23 Bug 616884. Part 2. When creating the widget for a plugin use the position of the plugin if it is available. r=roc a=roc 2010-12-09 22:33:33 -06:00
Steven Michaud
afd3294490 Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Robert O'Callahan
5919a4c04a Bug 611164. Fire MozPaintWait event if async plugin rendering hasn't caught up with our desired plugin size. r=romaxa a=roc 2010-12-05 15:04:22 +00:00
Benjamin Smedberg
470e76d1a8 Bug 613744 - Crash when switching layer managers during rendering: compare the cached ImageContainer layer manager with the new manager while building the new layer, and recreate it if a new manager is being used. r=roc a=blocker
--HG--
extra : rebase_source : 9b4e550d6a4afd57bcec50d8a563fce03c267f54
2010-11-30 09:39:47 -05:00
Steven Michaud
9ccfffc401 Bug 613376 - r=josh a=blocking2.0Beta8+ 2010-11-23 10:20:36 -06:00
Oleg Romashin
aa8870e48b Bug 612256 - On plugin invalidate only plugin layer (and not thebes layer) should be updated. r=roc a=blocking2.0 2010-11-23 01:46:11 +02:00