Commit Graph

153 Commits

Author SHA1 Message Date
Brian Birtles
b1759d304e Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.

It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.

Beyond that, there are no functional changes contained in this patch.

The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.

--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Kartikaya Gupta
4575e9d7d9 Bug 1043719 - Cancel pending gesture timeouts when a cancel is received. r=botond 2014-08-05 11:51:32 -04:00
Kartikaya Gupta
4e2984ee55 Bug 1048888 - Initialize member variables to nullptr. r=botond 2014-08-05 11:51:31 -04:00
Ed Morley
14e619428b Backed out changeset e76cbce3289a (bug 1043719) for gtest crashes 2014-08-04 16:32:20 +01:00
Kartikaya Gupta
fc6923b46d Bug 1043719 - Cancel pending gesture timeouts when a cancel is received. r=botond 2014-08-01 23:08:00 -04:00
Masayuki Nakano
8bb45b8c1f Bug 1046101 part.18 Rename NS_TOUCH_EVENT to eTouchEventClass r=smaug 2014-08-04 14:28:53 +09:00
Masayuki Nakano
77d7a1ac4b Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Kartikaya Gupta
cbb9834769 Bug 1036985 - Change the return value of APZCTM::ReceiveInputEvent to return more useful information. r=botond 2014-08-01 16:24:50 -04:00
Botond Ballo
1d35f25a8b Bug 1023557 - Store the content description in ContainerLayer instead of FrameMetrics. r=kats,BenWa 2014-07-31 16:11:47 -04:00
David Zbarsky
9c8ef1fd12 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
5192ab7514 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-08-01 08:31:46 -04:00
Botond Ballo
9b16403fa4 Bug 1046904 - Identify scrollgrab layers in the APZC tree log. r=kats
--HG--
extra : rebase_source : 7cf38fbe7d34b8cc5130d79f868dcef58b044e06
2014-07-31 13:49:46 -04:00
Kartikaya Gupta
1ec62af0b4 Bug 1043689 - Cancel state in the GEL when processing a cancelled touch block. r=botond 2014-07-31 14:21:49 -04:00
Kartikaya Gupta
67a2b1d75e Bug 1046428 - Remove unneeded constant. r=botond 2014-07-31 09:04:35 -04:00
Kartikaya Gupta
eea46e2278 Bug 1046292 - Add a max-wait timeout to TaskThrottler to robustify against it getting stuck. r=botond 2014-07-31 09:04:34 -04:00
Botond Ballo
c0d331675b Bug 1046013 - Fix APZ hit testing when root APZC is overscrolled and has siblings. r=kats
--HG--
extra : rebase_source : a2a0e143c70b3d8c2188ca281d2372d969d8c06b
2014-07-30 15:11:20 -04:00
Kartikaya Gupta
d162ebce31 No bug - Fix for non-unified build when APZC logging is enabled. r=me and DONTBUILD because NPOTB 2014-07-30 11:05:48 -04:00
Wes Kocher
02d44fddfa Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
b217f375b9 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky
0913b5df71 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-07-29 19:18:49 -04:00
Kartikaya Gupta
d84d3112d6 Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Ed Morley
c6f9630b11 Backed out changeset a0a40196da87 (bug 973096) for non-unified build failures 2014-07-25 16:27:21 +01:00
Kartikaya Gupta
716eeb59c8 Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Kartikaya Gupta
178c4726e2 Bug 1042734 - Don't mis-handle events that are coming in with the same timestamp. r=botond 2014-07-24 16:58:54 -04:00
Kartikaya Gupta
52f65719cf Bug 1039159 - Clear the velocity queue on touch-cancel. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta
d0376c8172 Bug 1039159 - Assert mVelocityQueue can only be touched on the controller thread. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta
046d87fc2d Bug 1039159 - Ensure we don't touch the velocity queue from the compositor thread. Thanks to :jerry for finding this. r=botond 2014-07-23 17:08:54 -04:00
Botond Ballo
623142d1e3 Bug 1040226 - Avoid getting stuck after overscroll is handed off to an APZC later in the handoff chain. r=kats 2014-07-21 14:36:37 -04:00
Botond Ballo
6cad61179f Bug 1041471 - Call CancelAnimation() on a touch-cancel. r=kats 2014-07-21 15:42:58 -04:00
Kartikaya Gupta
9dc6a33e69 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Kartikaya Gupta
6dd585e753 Bug 1034240 - Trigger an update of the displayport margins on a new APZC if the content already has margins. r=botond 2014-07-21 14:00:52 -04:00
Botond Ballo
de52023c18 Bug 1030803 - Account for floating-point error in Axis::ScaleWillOverscrollAmount(). r=kats 2014-07-17 14:45:57 -04:00
Kartikaya Gupta
bf8666cf6d Bug 1039979 - Restore and improve handling of the stop-fast-fling-on-touchdown behaviour. r=botond 2014-07-17 13:41:54 -04:00
Kartikaya Gupta
1eda27d75c Bug 1039979 - When cancelling animations based on user input, cancel animations on the entire handoff chain. r=botond 2014-07-17 13:41:53 -04:00
Kartikaya Gupta
75bfcea27d Bug 1039979 - Cancel animations when a finger goes down without waiting for the content response. r=botond 2014-07-17 13:41:52 -04:00
Kartikaya Gupta
fd98f39675 Bug 1015644 - Follow-up to fix a logging-only build error. r=me and DONTBUILD because NPOTB 2014-07-17 09:27:34 -04:00
Kartikaya Gupta
26d12a7184 Bug 1009733 - Follow-up to fix a logging-only build error. r=me and DONTBUILD because NPOTB 2014-07-17 05:58:48 -04:00
Kartikaya Gupta
a10c794aed Bug 995475 - Clear the active element on touch end, if the touch wasn't a click. r=botond 2014-07-16 23:06:36 -04:00
Andrew McCreight
f37d0cf3c0 Bug 1038855, part 1 - Use an nsRefPtr for AsyncPanZoomController::mSharedFrameMetricsBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Kartikaya Gupta
cd6c46059b Bug 1009733 - Add thread safety checks for dealing with touch input blocks. r=botond 2014-07-16 12:03:06 -04:00
Kartikaya Gupta
4723fa6c87 Back out c4bb900163fc (part 3 of bug 1009733) for breaking windows builds. r=backout on a CLOSED TREE 2014-07-16 08:57:06 -04:00
Kartikaya Gupta
001dac85f3 Bug 1009733 - Add thread safety checks for dealing with touch input blocks. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta
cc205ca66b Bug 1009733 - Rewrite much of the APZC input block handling code. r=botond 2014-07-16 08:33:50 -04:00
Jeff Muizelaar
af1d060475 Bug 1038727 - Convert APZ from nsAutoPtr to UniquePtr. r=kats
--HG--
rename : browser/components/loop/content/shared/js/views.jsx => browser/components/loop/content/shared/js/views.js
rename : toolkit/webapps/tests/test_custom_origin_uninstall_install.xul => toolkit/webapps/tests/test_custom_origin.xul
extra : rebase_source : 2448597696cbf24512b54b6acbdfb52b71995dde
2014-07-15 13:44:37 -04:00
Botond Ballo
d655d1fc8c Bug 1034376 - Avoid APZC being stuck in overscrolled state when CancelAnimation() is called during panning. r=kats
--HG--
extra : rebase_source : bbc3a02d6be7081be77b58cb2795aa57ce794002
2014-07-14 12:54:41 -04:00
Botond Ballo
dba111cd34 Bug 1037191 - Have APZCTreeManager::GetTargetAPZC(point) always return nullptr if an overscrolled APZC is matched. r=kats
--HG--
extra : rebase_source : 2714fa4480ccab42acde9a6dfa36f1d4424bb630
2014-07-10 18:30:13 -04:00
Kartikaya Gupta
db8b7154e3 Bug 1037019 - Remove the mTouchActionPropertyEnabled flag in APZC and flip the pref directly in the tests. r=botond 2014-07-11 08:25:13 -04:00
Kartikaya Gupta
4ff5fbdfab Bug 1036444 - Kill touchenter and touchleave events. r=smaug 2014-07-09 10:27:00 -04:00
Botond Ballo
f84bdd356e Bug 1031067 - Clear overscroll at the end of a pinch. r=kats
--HG--
extra : rebase_source : 2484d2513aab9d9d321fe6d42a1face685b45ba0
2014-07-08 17:07:12 -04:00
Kartikaya Gupta
ebd95dc8cc Bug 1027593 - Ensure we updated the displayport margins when the scrollable rect changes. r=botond 2014-07-08 18:01:02 -04:00