Commit Graph

439 Commits

Author SHA1 Message Date
Botond Ballo
4488a85383 Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
--HG--
extra : rebase_source : 95d6fb6992221c86800bc6322730729c083d75a3
2014-04-04 10:13:50 -04:00
Ryan VanderMeulen
2bf6dfd88c Backed out 6 changesets (bug 982141) for Windows and OSX bustage. CLOSED TREE
Backed out changeset 16540ab2d2cb (bug 982141)
Backed out changeset 2ad9ce9d904e (bug 982141)
Backed out changeset af219bb49c06 (bug 982141)
Backed out changeset ffe51d96e86e (bug 982141)
Backed out changeset 6642718ad3bb (bug 982141)
Backed out changeset 95b341d26f7b (bug 982141)
2014-04-10 15:27:42 -04:00
Botond Ballo
eee5f0ebb7 Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
--HG--
extra : rebase_source : 7d8245831828d60df4fb6e20d98fd2b08d4e3857
2014-04-04 10:13:50 -04:00
Chris Lord
4b3c68d60c Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Felipe Gomes
f8de85308f 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
7a4bbc290e 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
0b24e10f19 Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
20780839a2 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Jon Coppeard
3aac72b846 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
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Timothy Nikkel
24f06acbbc 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
41f0bb38e7 Bug 957668. A little cleanup of display port setters in nsDOMWindowUtils.cpp. r=kats 2014-03-26 21:46:24 -04:00
Timothy Nikkel
fa43bca11d Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Gorman Ho
9f11aa16d4 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
415828ea46 Bug 986359 part 2 - Factor out GetTransaction in DOMWindowUtils; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Brian Birtles
4066243ac4 Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Benoit Jacob
162c30b16f Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Peter Chang
1e4d8e1868 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Andrea Marchesini
ba16597c3e Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Ed Morley
b0b98b2931 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
5c90d4d8c7 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Robert O'Callahan
f87fd81842 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
c8a214195d 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
6a2a74cd42 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
138adeb229 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
51753ab71b 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
92acec8bfb 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
9c93a3d8aa Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
02ecb5a5d6 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
323054beb0 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-06 11:38:17 -05:00
Blake Kaplan
3ea889d5c2 Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug 2014-02-26 15:58:21 -08:00
Jan Varga
3c75c767d9 Bug 963064 - FileHandle cleanup. r=bent 2014-02-24 21:56:13 +01:00
Robert O'Callahan
e099a6db18 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
f3b647e533 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Oleg Romashin
a5b3845729 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
0666272c2e Backout 168002:594dda9c7a3a, need better SpecialPowers handling on Win platform 2014-02-10 23:39:30 -08:00
Oleg Romashin
3ef61ffbe1 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
20b4926e22 Bug 965904 - Fix some rooting hazards in the browser r=terrence 2014-01-31 09:56:40 +00:00
David Zbarsky
44eeb608e1 Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:47 -05:00
Peiyong Lin
771ff6dc82 Bug 950246 - Correct nsDOMWindowUtils::StopFrameTimeRecording() alloc to sizeof(float). r=jdm 2014-01-21 15:51:18 -05:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Alexandre Poirot
2a7cec823c 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
8109167828 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
62861a6442 Bug 941774 - New dom utils methods for injecting native touch input. r=smaug 2013-12-14 14:40:55 -06:00
Trevor Saunders
81260b0a39 bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00
Matt Woodrow
533d84ea6d Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob 2013-12-12 10:05:27 +13:00
Vivien Nicolas
ef9e465afe 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
5f4cdeaa93 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
cd2dacabe9 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
724b3c2649 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00