Commit Graph

186 Commits

Author SHA1 Message Date
Kartikaya Gupta
b278e78810 Bug 1055760 - Don't pass an out-ref for a parameter that doesn't change. r=botond 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
8b8760b990 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
Kartikaya Gupta
0a8d0f93db Bug 1057642 - Fix some printing call sites that try to print CoordTyped as floats. r=botond 2014-08-26 12:05:05 -04:00
Emma Benoit
9feab3bf0f bug 1030741 - Make FrameMetrics::mIsRoot private and add getter/setter methods to manipulate it. r=kats 2014-08-23 19:09:10 -04:00
Kartikaya Gupta
8059354fff Bug 912700 - Audit all uses of FrameMetrics::mViewport and wrap it in getter/setters. r=botond 2014-08-22 23:18:56 -04:00
Botond Ballo
e16b94d4d3 Bug 1049109 - Clear overscroll along entire handoff chain at end of pinch. r=kats 2014-08-21 15:27:51 -04:00
Wes Kocher
8d00fd2166 Backed out changeset 36a60b15c104 (bug 1049109) for gtest failures on a CLOSED TREE 2014-08-21 15:25:29 -07:00
Botond Ballo
528d6d9048 Bug 1049109 - Clear overscroll along entire handoff chain at end of pinch. r=kats
--HG--
extra : rebase_source : fc10f5f0fd176fa91c825805f1180dc8af3f67ad
2014-08-21 15:27:51 -04:00
Botond Ballo
9d30e4e27f Bug 1056617 - Don't try to do panning for OS X pan events that are not preceded by a 'pan begin' event. r=mstange 2014-08-21 13:17:26 -04:00
Botond Ballo
c8d921e614 Bug 1046993 - Use floating-point coordinates throughout in Axis. r=kats 2014-08-20 17:39:45 -04:00
Wes Kocher
ccac14d435 Merge m-c to inbound a=merge 2014-08-20 18:13:40 -07:00
Kartikaya Gupta
9e80e0e3da Bug 1056159 - Extract a helper function from UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
Kartikaya Gupta
6d29c3c630 Bug 1056159 - Extract a helper struct to hold some of the parameters to UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
Ehsan Akhgari
3bffba3b99 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Kartikaya Gupta
25e89f6eaa Bug 1052063 - Avoid running multiple animation steps if there are multiple layers sharing an APZC. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
66c2355539 Bug 1052063 - Do a single pass over the APZC tree to advance animations before sampling. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
feedf75ded Bug 1052063 - Move the CSS transform into the ancestor transform. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
42300ca5d8 Bug 1052063 - Small changes to clarify the existing ancestor transform build-up. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
d0bdd89470 Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
9449a0378b Bug 1052063 - Ensure the APZC instances track the cumulative hit test areas of all the layers they map to. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
9be6a0a26c Bug 1052063 - Prevent creating multiple APZC instances for the same ScrollableLayerGuid. r=botond 2014-08-19 21:17:08 -04:00
Botond Ballo
1d16def11d Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Botond Ballo
e191a7432a Bug 1025436 - Return true from AsyncPanZoomController::AdvanceAnimations() if one of the deferred tasks started a new animation. r=kats
--HG--
extra : rebase_source : 82978c55141b9a3ef05dff2273edd5c84dace479
2014-08-20 14:28:05 -04:00
Botond Ballo
ed538fb149 Bug 1042974 - Dispatch flings to the right scrollable element in the presence of scrollgrab. r=kats
--HG--
extra : rebase_source : b2282c8fb958d91160d7b89790baf97ada591804
2014-08-18 16:12:43 -04:00
Botond Ballo
aef24da2ed Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats
--HG--
extra : rebase_source : 3a82faa2e95b889cb19db5cc24e24d74e6498f08
2014-08-06 12:52:04 -04:00
Botond Ballo
f25d822696 Bug 1055361 - Disable overscrolling during panning. r=kats
--HG--
extra : rebase_source : 53bb4d8f1e297059ea1a9a0d6994fcd45eca84d7
2014-08-19 12:55:28 -04:00
Botond Ballo
c987c75938 Bug 1039992 - Move the overscroll handoff chain into AsyncPanZoomController and have one per touch block or pan gesture. r=kats,bjacob,mstange
--HG--
rename : gfx/layers/apz/src/TouchBlockState.h => gfx/layers/apz/src/InputBlockState.h
extra : rebase_source : ee68595aa21b696de1a0fbb8e6c161022a88ba3d
2014-08-18 16:12:11 -04:00
Aryeh Gregor
15ec3ba67b Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Harshit Harchani
8ab53106b7 Bug 927946 - Add all APZC preferences to all.js. r=botond
--HG--
extra : rebase_source : d96f4aea65b40490d4cc7f8ec8704a2a2f7ef4b8
2014-08-13 01:35:22 +05:30
Kartikaya Gupta
89ab2a4eb0 Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
9370d1374f Bug 1051985 - Move the background color and content description from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
7f106b13e3 Bug 1051985 - Move the scroll handoff parent id from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
a0ad18d035 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
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