Граф коммитов

653 Коммитов

Автор SHA1 Сообщение Дата
David Anderson 6ef885ab51 Ensure scroll info layers have a dispatch-to-content region. (bug 1193557 part 2, r=kats) 2015-09-04 17:18:03 -07:00
David Anderson 4c72778d2c Backout changeset b5e6116756b6 (wrong bug number). 2015-09-04 17:44:23 -07:00
David Anderson 51c747a7db Add a test case for bug 1193557, r=kats. 2015-09-04 17:18:11 -07:00
David Anderson 02e78d587c Ensure scroll info layers have a dispatch-to-content region. (bug 1193641 part 2, r=kats) 2015-09-04 17:18:03 -07:00
Michael Pruett f912c6affe Bug 1201277 - Replace functors with lambdas in APZCTreeManager. r=botond
--HG--
extra : source : 264ed23109b0ee2e8f12ae77d969bb1a26504fdd
extra : amend_source : 2ed03a71a24ae3386b41feba0d5ae9d7b5e53ffb
2015-09-03 23:09:46 -05:00
Masayuki Nakano 811d0fac7e Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano 7b7a44a5ac Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
Masayuki Nakano cafe2dfc67 Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Markus Stange 2705f93fbd Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats
--HG--
extra : commitid : CUZqiDbltTx
extra : rebase_source : 90fb8cf0023177b7bb98ff93c5667c8dbc153f29
2015-08-28 16:50:00 -04:00
Markus Stange 49c4d7a190 Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats
--HG--
extra : commitid : 5utp02GzYAW
extra : rebase_source : 4415c7ac8fd3a8dbb718593bee63e89e8ba1625c
2015-08-12 00:11:54 -04:00
Markus Stange bce923c470 Bug 1016035 - Make APZEventState report defaultPrevented=true when the event started a swipe. r=kats
--HG--
extra : commitid : 4scVCanEMYd
extra : rebase_source : a9ff41cb1a7f681fae4b352b8b5337bf0ce41ff2
2015-08-11 23:35:16 -04:00
Markus Stange 0eb1d7c10b Bug 1016035 - Make the threshold in AxisPhysicsMSDModel::IsFinished controllable by the caller. r=kip
--HG--
extra : commitid : 8kd91z4FD2n
extra : rebase_source : bcdf5a75c527f871d2077ca1ef2e1958eb3db4d9
2015-08-04 16:11:37 -04:00
Masayuki Nakano 83f18479ed Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug 2015-08-29 08:58:33 +09:00
Masayuki Nakano a516285180 Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano b9439c75d9 Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano ba5b3f3fe6 Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano 28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Botond Ballo 069f25bc15 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats
--HG--
extra : rebase_source : 7c5a0d788245dff495ea3942cf03e8b5357cca39
2015-08-02 14:45:30 -04:00
Botond Ballo 2329d6833e Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats
--HG--
extra : rebase_source : 6d224553f62c4481d35ece1eee9afe873883f455
extra : source : b661da15c2f8aad90c1afaf7cf7777351e1bd972
2015-07-27 15:34:00 -04:00
Botond Ballo 96e062add7 Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found
another test that needs it increased. Rather than increasing it for
individual tests, increase it for all tests.

--HG--
extra : rebase_source : f76c2a43bdcfa97a86fb5d63ff9708e6215c2678
extra : source : f9a184b70afcf294f7eb84897448fb3db03f681a
2015-07-22 17:03:59 -04:00
Botond Ballo 2f7c3135ad Bug 1177018 - Only enable APZ test logging for tests that actually use it. r=kats
This avoids excessive amounts of test data accumulating which can slow tests down.

As part of this change, the pref for enabling the logging was made 'Live'.

--HG--
extra : rebase_source : e1d0547e5d3125e9db44bb47ddfff3b4f8d50e99
extra : source : 73fb13743a74a5a920d099fda70d9b1a1fa3a6ed
2015-07-08 19:18:28 -04:00
Botond Ballo f2e8a59818 Bug 1177018 - Disable smooth scrolling in the APZ layerization test. r=kats
--HG--
extra : rebase_source : ee705290c57e3122bac17af9ee70aa6c4e76c285
extra : source : d5f9fb06ee8c344f35fcf9fd86b5f654862ec1e8
2015-06-29 19:44:12 -04:00
Botond Ballo 5d9fcfff8c Bug 1177018 - Work around the iframe in which mochitests are run not being scrollable. r=kats
--HG--
extra : rebase_source : bd8b7b60bcae3298a523daac9b286fed9b4edefd
extra : source : d94c86ecbc53e8d45729691ac6576fdfbe407cc4
2015-06-26 16:46:22 -04:00
Phil Ringnalda 02603b885d Back out 7 changesets (bug 1177018) for debug b2g assertion failures in test_bug982141.html
CLOSED TREE

Backed out changeset 40fdd735520d (bug 1177018)
Backed out changeset a82c39bb97ab (bug 1177018)
Backed out changeset dbb14a5cd2cd (bug 1177018)
Backed out changeset 112ec6bdaf4e (bug 1177018)
Backed out changeset 486f9a11fcbd (bug 1177018)
Backed out changeset 8e54cc5e6901 (bug 1177018)
Backed out changeset c2a30b4f3a7c (bug 1177018)
2015-08-26 21:38:05 -07:00
Botond Ballo eb96b04ea9 Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats
--HG--
extra : rebase_source : c5df518db4ace446ed14a5478cc7be127e068512
extra : source : 55a1326f6f1ba89d7b307f4c8406284e1c3c888a
2015-07-27 15:34:00 -04:00
Botond Ballo 8abc5d1813 Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found
another test that needs it increased. Rather than increasing it for
individual tests, increase it for all tests.

--HG--
extra : rebase_source : 1e32b0c851bb138d1ed247fea72312c09380266c
extra : source : fb4d8f6db088a2da12d01403280b959d176fee0a
2015-07-22 17:03:59 -04:00
Botond Ballo f914a340bd Bug 1177018 - Only enable APZ test logging for tests that actually use it. r=kats
This avoids excessive amounts of test data accumulating which can slow tests down.

As part of this change, the pref for enabling the logging was made 'Live'.

--HG--
extra : rebase_source : 0abbf10b3e3b3a67bbb810d4554a7b55bfc6fd66
extra : source : d7bac1264671c0a10da034d6d9b08f01235ebdb3
2015-07-08 19:18:28 -04:00
Botond Ballo 3d96234fff Bug 1177018 - Disable smooth scrolling in the APZ layerization test. r=kats
--HG--
extra : rebase_source : 0512511d4f179e75db26794a445db132935c15e3
extra : source : d5f9fb06ee8c344f35fcf9fd86b5f654862ec1e8
2015-06-29 19:44:12 -04:00
Botond Ballo bbbb23bc55 Bug 1177018 - Work around the iframe in which mochitests are run not being scrollable. r=kats
--HG--
extra : rebase_source : dd9ad6631b729a858e5e3a7f19ff49c66818de48
extra : source : d94c86ecbc53e8d45729691ac6576fdfbe407cc4
2015-06-26 16:46:22 -04:00
Kartikaya Gupta 959a3cf33e Bug 1198900 - Don't call OnTouchCancel when the current block is not a touch block. r=botond 2015-08-26 15:08:00 -04:00
Markus Stange 4d793f82dd Bug 1193062 - Add mHandledByAPZ on PanGestureInput and ScrollWheelInput, and sync the information to the WidgetWheelEvent. r=kats
--HG--
extra : commitid : 2qlm0ULac3
extra : rebase_source : 52fc5d3930a9b3a941f7e3665ef6b371e8a4b1b5
extra : histedit_source : d99996a3729a1bc78b9f4631f950476321f93c1f
2015-08-11 18:04:55 -04:00
Markus Stange a4753aced8 Bug 1193062 - Process pan gesture deltas in begin+end events. r=kats
We don't want to split native NSEvents into two PanGestureInput events.

--HG--
extra : commitid : 7UnFAreSEcF
extra : rebase_source : 70121ddcf52f00547e70fcbea16975224835f890
extra : histedit_source : 0b8840795e6ab1cc808d75aa042c030b70f09f6f
2015-08-11 15:57:47 -04:00
Markus Stange 69e1f80c4a Bug 1193062 - Use ScrollSource::Wheel for pan gesture events. r=kats
--HG--
extra : commitid : KGQggnhZDU8
extra : rebase_source : 4119265f00570931e4a9d565c31b68244ab8d26e
extra : histedit_source : 14b9539a4630c5a404f658272bd80936dbbb34c8
2015-08-10 18:27:01 -04:00
Markus Stange a83ae1f63a Bug 1193062 - Remove mPanGestureState. r=kats
Now that PanGestureInput events are only processed during a PanGestureBlock, we can get rid of the mPanGestureState workaround.

--HG--
extra : commitid : 4KYXEbxJ5zZ
extra : rebase_source : 9ee0b85d3bec2554871f621270998b2e2d86a3ce
extra : histedit_source : e7c56cca500680c95744110ccaeefa635f7f1613
2015-08-07 15:20:31 -04:00
Markus Stange 7f5ea187ae Bug 1193062 - Don't use PanGestureInput events for instant wheel scrolling. r=kats
This will make bug 1156606 unnecessary.

--HG--
extra : commitid : K69ATp0TzlZ
extra : rebase_source : 9fd2b710623f6f54fe707a5ab8fb3c4b923348f3
extra : histedit_source : f86517d5d01ef4a708dcfa5529bed165d9016b10
2015-08-26 14:27:32 -04:00
Markus Stange 0f591d06f6 Bug 1193062 - Make AllowScrollHandoff work for both ScrollWheelInput and PanGestureInput blocks. r=kats
--HG--
extra : commitid : DwBaXlllNDK
extra : rebase_source : f5f76749edd625b925cacda5627c40c7633c4609
extra : histedit_source : 6ba23a9269071eec6c08baab31a36532c9e143d6
2015-08-11 15:29:44 -04:00
Markus Stange 395b5b7beb Bug 1193062 - Add PanGestureBlockState. r=kats
--HG--
extra : commitid : BVMuP4An1li
extra : rebase_source : fb55de2fbe3f7abcbd068c46b047046150cc5c8b
extra : histedit_source : 8a287e3ff2a0099e9ab8794cffb93dbfe0ef89d9
2015-08-26 11:42:12 -04:00
Markus Stange 6d1e1e95c1 Bug 1193062 - Make OverscrollHandoffChain::FindFirstScrollable and AsyncPanZoomController::CanScroll able to deal with PanGestureInput events. r=kats
--HG--
extra : commitid : CW9kPLdmobP
extra : rebase_source : f26d419f8b263ffbc55d013e822835ccd357a587
extra : histedit_source : d031bfa29c918232db337e4e739b48e7fd653d31
2015-08-26 11:14:33 -04:00
Markus Stange 03f6d08f92 Bug 1193062 - CanScrollWithWheel needs to use ParentLayerCoords for the scroll delta. r=kats
--HG--
extra : commitid : DoBeoloIlQh
extra : rebase_source : 38b61ed330c07f27d679853a2ab58a2b671fef50
extra : histedit_source : edd524706858644b153c44c31a10ffa1484ebbca
2015-08-25 18:51:07 -04:00
Markus Stange 05ea480385 Bug 1193062 - Set correct axis velocities when using PanGestureInput events. r=kats
--HG--
extra : commitid : K15sMbhGhuK
extra : rebase_source : bccc3a42f0379e8493343a16b01702ca4b1a7015
extra : histedit_source : cc5a2c56eef55026c68833a443d4c5727dcc45ac
2015-08-07 14:44:22 -04:00
Markus Stange bceb8af7be Bug 1193062 - Make PanGestureInput transform processing work like ScrollWheelInput processing. r=kats
PanGestureInput events need to be sent to the pre-scroll position, just like wheel events.

--HG--
extra : commitid : CjK4ecz5AHl
extra : rebase_source : 438bc15164d10ddbc18e01435289859dafcf8db4
extra : histedit_source : 88a04fa28a5ceebebf48ed900d05eb9416b00b40
2015-08-07 14:37:16 -04:00
Markus Stange 4d872ae182 Bug 1193062 - Add a PAN_MOMENTUM state. r=kats
This was discussed in bug 1107716.

--HG--
extra : commitid : 8EvQL9qrm3X
extra : rebase_source : 3785c8ac8e7e90f171cf9091f6fc50d76d34f703
extra : histedit_source : ffc8c6cd57f535b03621e149bb300e60683d1612
2015-08-07 14:39:34 -04:00
Markus Stange 8c83121309 Bug 1193062 - Don't double-send target APZC confirmations that might race each other. r=kats
When scrolling an inactive subframe, the target APZC confirmation needs to be sent along with the layers transaction. If a new wheel event comes in while that target APZC notification is in-flight, the subframe will already have a display port, so the confirmation will be sent in a more direct fashion and can arrive at the APZ controller thread before the new APZC for the scroll frame has been created. Then the current input block will have a null target APZC and no scrolling will happen until a new input block is created. (For wheel transactions, a null target APZC ends the transaction, so the next event will create a new input block.)

--HG--
extra : commitid : Ij9XfKKZAqe
extra : rebase_source : 66196ed4e3e98159f7b17f7e8d90c5f2985425e6
extra : histedit_source : c028ec2f7817bb8d9396849495bfeaa17cbe7064
2015-08-11 16:51:46 -04:00
Masayuki Nakano 0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Kartikaya Gupta 4675a280c5 Bug 1194876 - Do a better job of resetting input state. r=botond
--HG--
extra : commitid : HZc9tmIjC37
2015-08-25 07:50:01 -04:00
Kartikaya Gupta ffe3909665 Bug 1194876. Reset the input state on an APZC if a new touch block targets a new APZC while there were touches still active. r=botond
--HG--
extra : commitid : LO0sHCo3M3F
2015-08-25 07:50:01 -04:00