Commit Graph

687 Commits

Author SHA1 Message Date
Botond Ballo
3afdc1b9ca Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn 2014-04-04 10:13:50 -04:00
Chris Lord
d1dfc64ad5 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Felipe Gomes
175023c38d Bug 971043 - Implement getTranslationNodes function to retrieve nodes from webpage that contains meaningful text for translation. r=smaug 2014-04-05 00:21:08 -03:00
Blake Kaplan
71d2278a2e Bug 899648 - Initial patch to make tab-modal prompts work. Original patch from Tom Schuster <evilpies@gmail.com>. r=dolske 2014-04-04 14:50:42 -07:00
Ryan VanderMeulen
1340d776f2 Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
f3d5246581 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Jon Coppeard
2d958bf868 Bug 990001 - Use JS::AutoValueArray in preference to AutoValueVector where size is known in advance r=smaug 2014-04-01 11:34:39 +01:00
Masayuki Nakano
c50afb64af Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug 2014-04-01 13:09:23 +09:00
Timothy Nikkel
2a3d74a42d 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
72ef6ccec9 Bug 957668. A little cleanup of display port setters in nsDOMWindowUtils.cpp. r=kats 2014-03-26 21:46:24 -04:00
Timothy Nikkel
e6fb092705 Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Gorman Ho
ab8b32472a 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
b6cb8bf05c Bug 986359 part 2 - Factor out GetTransaction in DOMWindowUtils; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Brian Birtles
4502c9eb05 Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Benoit Jacob
ae67b77a1c Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Peter Chang
a7504a1140 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Andrea Marchesini
7a5f892fe5 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Ed Morley
0f932ab486 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
b40fc5d8f1 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Robert O'Callahan
e4d5af0b0e 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 2014-03-08 22:25:15 +13:00
Robert O'Callahan
68f600068b Bug 975931. Part 10: Refactor nsDOMWindowUtils to use a shared GetDocument method. r=matspal 2014-03-08 22:22:28 +13:00
Robert O'Callahan
93ce62137d Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats 2014-02-14 21:59:23 +13:00
Brian Birtles
e2f321fec0 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
6299df414f 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
938ee40a1d 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
73b34e3d33 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
c27e336485 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
7f3cdabc47 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-06 11:38:17 -05:00
Blake Kaplan
05044bbe0a Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug 2014-02-26 15:58:21 -08:00
Jan Varga
bddb26d3a0 Bug 963064 - FileHandle cleanup. r=bent 2014-02-24 21:56:13 +01:00
Robert O'Callahan
18be4caa31 Bug 973767. Put the compositor into test mode via an IPDL transaction. r=mattwoodrow 2014-02-12 17:41:57 +13:00
Masayuki Nakano
c779726813 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Oleg Romashin
733c4c3fd2 Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug 2014-02-11 06:16:56 -08:00
Oleg Romashin
e8c72ad0d0 Backout 168002:594dda9c7a3a, need better SpecialPowers handling on Win platform 2014-02-10 23:39:30 -08:00
Oleg Romashin
b9f06b939a Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug 2014-02-10 22:35:17 -08:00
Jon Coppeard
98528e6f98 Bug 965904 - Fix some rooting hazards in the browser r=terrence 2014-01-31 09:56:40 +00:00
David Zbarsky
76af03653a Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:47 -05:00
Peiyong Lin
fc28ebff7b Bug 950246 - Correct nsDOMWindowUtils::StopFrameTimeRecording() alloc to sizeof(float). r=jdm 2014-01-21 15:51:18 -05:00
Tom Schuster
4a7dd51a60 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Alexandre Poirot
e71e141230 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
6a9262255f 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
a1a4a1cb4c Bug 941774 - New dom utils methods for injecting native touch input. r=smaug 2013-12-14 14:40:55 -06:00
Trevor Saunders
f538844f26 bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00
Matt Woodrow
65c2d839be Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob 2013-12-12 10:05:27 +13:00
Vivien Nicolas
357a0527f0 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
ec7fdaa3f7 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
5dad13288d 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
d7650b9dac 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
c710d8f498 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
661e462f53 Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
CLOSED TREE
2013-11-26 14:12:05 -05:00