Timothy Nikkel
eb8a11b1a8
Bug 771351. Disallow plugins in popup panels gracefully. r=roc
2012-07-05 19:45:23 -05:00
Trevor Saunders
5d33ad118a
bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Andreas Gal
7db0b87ef1
Do image scaling on the GPU (bug 650988, r=roc,cjones).
2012-05-03 07:05:55 -07:00
Robert O'Callahan
1c1601b380
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
7c34e38876
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
444323eb38
Bug 738392 - Fix plugins not rendering inside CSS transform on Mac OSX r=roc
2012-03-23 11:21:57 -07:00
Bas Schouten
f708b773a5
Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc
2012-02-08 16:34:27 +01:00
Matt Brubeck
59734e78eb
Merge mozilla-central and mozilla-inbound
2012-02-01 17:09:34 -08:00
Josh Aas
bfed8cb272
Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg
2012-01-31 16:55:54 -05:00
Bas Schouten
7244d2b180
Bug 715785: Make ImageContainers independent of LayerManagers. r=roc
2012-02-01 03:18:30 +01:00
Michael Wu
d2b70213ac
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
Josh Aas
3fa80a3ea0
Backed out changeset 33031c875984. Bug 90268. r=josh
2011-08-30 02:09:56 -04:00
Josh Aas
3b6b37ef98
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
Oleg Romashin
6c7260ce7e
Bug 621228 - Make plugins listening presShell SetActive calls. r=jst
2011-08-18 22:08:38 +02:00
Robert O'Callahan
723e5c86ee
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
Josh Aas
5c2dd7dad0
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
Josh Aas
de61523f19
Bug 653116: Sort plugins from most to least recently modified. Search them in this order for MIME/extension matches. They should also appear in this order in about:plugins. r=jst r=bent
2011-05-28 00:08:26 -04:00
Doug Turner
41ab2f4123
Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh
2011-05-21 11:21:49 -04:00
Josh Aas
669eb04ac7
Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg
2011-05-17 21:48:34 -04:00
Jim Mathies
d839661fc9
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
Josh Aas
3c5bbfe193
Bug 606641: Cleanup for plugin initialization. r=bz
2011-04-28 16:08:33 -04:00
Jan Küchler
c510bc3046
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
Josh Aas
7b8aca764f
Bug 636872: Allow CSS cursor property to be used for plugins. r=bz
2011-04-08 12:58:04 -07:00
Robert O'Callahan
ae731149d4
Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel
2011-04-01 10:33:46 +13:00
Matt Woodrow
8c8c3d3be5
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
Robert O'Callahan
ad37d8bbc9
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
7a6001cfc2
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
Matt Woodrow
df6d09eb2c
Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc
2011-02-17 16:56:06 +13:00
Robert O'Callahan
8c5d3ac129
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
ac0601703a
Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones
2011-02-16 16:43:30 -06:00
Matt Woodrow
60dec69863
Bug 591687: Create MacIOSurfaceImages for Core Animation plugins. r=roc r=josh a=blocking2.0betaN+
2011-02-12 11:09:03 -05:00
Timothy Nikkel
8fbd9a0bf9
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
Matt Woodrow
0f65fdc7c4
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
Robert O'Callahan
a352316479
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
Steven Michaud
a719cc9a9a
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
Steven Michaud
7dcde2114e
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
92b4269cac
Bug 593839. Part 1: Use nsDisplayListBuilder::IsPaintingToWindow instead of gfxContext::DESTINED_FOR_SCREEN. r=tnikkel
2010-10-25 16:38:09 +02:00
Felipe Gomes
82fe7096ba
Bug 601603. Part 5 - Ensure that the layer that holds the window background is never opaque for glass windows. r=roc a=beta8
2010-10-19 15:02:25 -02:00
Mats Palmgren
bdfed9190d
Bug 449734 part 1 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN
2010-09-18 13:28:49 +02:00
Oleg Romashin
d114c40fb2
Bug 556487 - ObjectFrame BuildLayer implementation. r=roc a=blocking2.0
2010-09-16 21:09:25 -07:00
Oleg Romashin
8827971ee8
Bug 556487 - Post Reflow Callback for nsObjectFrame r=roc a=blocking2.0
...
--HG--
extra : rebase_source : c8058990232bbabf8fbd36890e0fb6190c318faf
2010-09-07 17:36:59 -07:00
Mats Palmgren
f04c0c661b
Backing out bug 449734 due to unexpected orange. a=ted
2010-09-03 18:13:49 +02:00
Mats Palmgren
842363cdb7
Bug 449734 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN
2010-09-03 16:22:00 +02:00
Robert O'Callahan
33a0aec926
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Benjamin Smedberg
2afbd46dc1
Bug 583053 - Corruption issues when running rdio because windows double-pass rendering events don't win the RPC race, r=bent
2010-08-16 10:10:25 -04:00
Robert O'Callahan
d9ad5ed49c
Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe
2010-08-13 21:55:54 +12:00
Michael Ventnor
56ba116210
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Alexander Surkov
65c355c8a7
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Steven Michaud
aa57e0c3fe
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