Timothy Nikkel
44b5860385
Bug 987605. Call MaybeReflowForInflationScreenWidthChange on SetScrollPositionClampingScrollPortSize instead of SetDisplayPortForElement. r=dbaron
...
The scroll position clamping scroll port size is more closely related to the screen size then the display port.
2014-03-26 14:59:35 -05:00
Timothy Nikkel
d03f943dd0
Bug 957668. A little cleanup of display port setters in nsDOMWindowUtils.cpp. r=kats
2014-03-26 21:46:24 -04:00
Timothy Nikkel
7768128908
Bug 957668. Add and implement plumbing for a display port margins api. r=kats
2014-03-26 21:46:23 -04:00
Gorman Ho
2f3c5ba795
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Brian Birtles
d961380bc0
Bug 986359 part 2 - Factor out GetTransaction in DOMWindowUtils; r=mattwoodrow
2014-03-22 05:59:57 +08:00
Brian Birtles
4d7ae1cfa3
Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow
2014-03-22 05:59:57 +08:00
Benoit Jacob
56cf1149be
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Peter Chang
a96dd5a386
backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804
2014-03-12 15:16:20 +08:00
Andrea Marchesini
47c5c73d70
Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc
2014-03-11 10:46:55 +00:00
Ed Morley
98cffb45bb
Backed out changeset 98f7e8789561 (bug 923247)
2014-03-10 17:04:04 +00:00
Andrea Marchesini
957cd4aa97
Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc
2014-03-10 16:36:15 +00:00
Robert O'Callahan
426b8737e5
Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
...
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
6cbf04ad1f
Bug 975931. Part 10: Refactor nsDOMWindowUtils to use a shared GetDocument method. r=matspal
...
--HG--
extra : rebase_source : 171cd80958a92efcf16ebd249c73f46dbdedb012
2014-03-08 22:22:28 +13:00
Robert O'Callahan
f291db0474
Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
...
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Brian Birtles
84d1a1f391
Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
...
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.
This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
41336d20b3
Bug 979658 part 2 - Add nsDOMWindowUtils.getOMTAStyle; r=dbaron
...
nsDOMWindowUtils.getOMTAOrComputedStyle falls back to using getComputedStyle
when an OMTA style is not available. However, in order to be sure we are testing
OMTA, this patch adds getOMTAStyle which returns an empty string if no OMTA
style is available.
This patch also includes some minor stylistic tweaks. The method signature for
getOMTAOrComputedStyle now takes an nsIDOMElement parameter rather than
nsIDOMNode in order to simplify error-checking. (When we support OMTA of
pseudo-elements we will have to adjust the method signature but for now we only
support elements.) Also, some lines have been wrapped, ErrorResult is
declared closer to where it is used, and the return value aResult is only
truncated when returning NS_OK.
2014-03-10 13:47:12 +09:00
Brian Birtles
918d9a7839
Bug 979658 part 1 - Add check that caller is chrome to GetOMTAOrComputedStyle; r=dzbarsky
...
Every other exposed method in nsDOMWindowUtils except getViewPortInfo and
getViewId performs this check. This patch makes getOMTAOrComputedStyle check the
caller is chrome as well.
2014-03-10 13:47:11 +09:00
Benoit Jacob
8c5d632a24
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
a05a9b8736
Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
...
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob
52d36cb055
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-06 11:38:17 -05:00
Blake Kaplan
6597d2720f
Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug
2014-02-26 15:58:21 -08:00
Jan Varga
34a32fa34a
Bug 963064 - FileHandle cleanup. r=bent
2014-02-24 21:56:13 +01:00
Robert O'Callahan
6840723017
Bug 973767. Put the compositor into test mode via an IPDL transaction. r=mattwoodrow
...
--HG--
extra : rebase_source : d40cf8624f93b85298cc501ff315522220522fb6
2014-02-12 17:41:57 +13:00
Masayuki Nakano
a6beb97339
Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug
2014-02-15 10:06:06 +09:00
Oleg Romashin
06693231dc
Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
...
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-11 06:16:56 -08:00
Oleg Romashin
ee45ee96f0
Backout 168002:594dda9c7a3a, need better SpecialPowers handling on Win platform
2014-02-10 23:39:30 -08:00
Oleg Romashin
3b9891aa7e
Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
...
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-10 22:35:17 -08:00
Jon Coppeard
50bf59a96c
Bug 965904 - Fix some rooting hazards in the browser r=terrence
2014-01-31 09:56:40 +00:00
David Zbarsky
9bdd10281d
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
Peiyong Lin
19a0624476
Bug 950246 - Correct nsDOMWindowUtils::StopFrameTimeRecording() alloc to sizeof(float). r=jdm
2014-01-21 15:51:18 -05:00
Tom Schuster
f39e81815a
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Alexandre Poirot
e1bfc229ce
Bug 891882 - DOMWindowUtils.sendMouseEvent dispatch events with isSynthesized chrome attribute set to true. r=smaug
2014-01-15 09:28:04 -05:00
Kartikaya Gupta
4ad1847fb9
Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn
2013-12-16 12:04:45 -05:00
Jim Mathies
d52ab1f8f1
Bug 941774 - New dom utils methods for injecting native touch input. r=smaug
2013-12-14 14:40:55 -06:00
Trevor Saunders
ae517971ad
bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz
2013-11-20 14:18:25 -05:00
Matt Woodrow
478e3354a1
Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob
2013-12-12 10:05:27 +13:00
Vivien Nicolas
edac2e565a
Bug 940420 - It's nearly impossible to close browser app tabs with edge gestures enabled. r=smaug
2013-12-03 16:10:47 +01:00
Benoit Jacob
50940bf209
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-27 10:19:34 -05:00
Chris Lord
2b33da1618
Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
...
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Markus Stange
30aeb02de9
Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow
2013-11-27 08:32:19 +01:00
Ryan VanderMeulen
1c086f8129
Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE.
2013-11-26 14:58:09 -05:00
Ryan VanderMeulen
90315d8451
Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
...
CLOSED TREE
2013-11-26 14:12:05 -05:00
Benoit Jacob
0a41dbbab1
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-26 14:00:29 -05:00
Chris Lord
28c6b5343c
Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
...
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Fabrice Desré
bd9859e505
Bug 914843 - fix gfx issue on oop b2g linux. r=nrc
2013-10-31 23:36:02 -07:00
Olli Pettay
a2e81c43a0
Bug 927586 - [@ nsDOMWindowUtils::GetIsTestControllingRefreshes(bool*)], add a null check, r=mccr
2013-10-18 00:50:24 +03:00
Masayuki Nakano
52e19b318b
Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc
2013-10-16 18:37:36 +09:00
Tim Abraldes
1047bbdaba
bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz
2013-10-08 14:00:12 -07:00
Masayuki Nakano
9aaf116c1c
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00