Kevin Wern
94ff6417bc
Bug 1226920 - For instances of ForEachNode where we want to traverse the entire tree, use an action that returns void. r=botond
2015-11-23 13:06:29 -05:00
Kartikaya Gupta
870abb9938
Bug 1226872 - Remove unnecessary wrapper methods in nsLayoutUtils. r=roc
2015-11-23 09:14:18 -05:00
Kartikaya Gupta
11656fea91
Bug 1181703 - Add a gtest for making sure a pan can be continued after a second finger does a tap. r=botond
2015-11-22 08:57:45 -05:00
Kartikaya Gupta
b7210d2834
Bug 1181703 - Allow re-entering the panning state if a second finger is tapped while panning with one finger. r=botond
2015-11-22 08:57:45 -05:00
Kartikaya Gupta
7773a00f38
Bug 962243 - Gtest for being able to pan after lifting a finger from a pinch. r=botond
2015-11-22 08:57:45 -05:00
Dmitry Rozhkov
8810c371ce
Bug 962243 - Implement PINCH to TOUCHING transition in APZC. r=botond
2015-11-22 08:57:45 -05:00
Kartikaya Gupta
771e0aaa39
Bug 1221694 - Add a basic telemetry probe for checkerboarding. r=botond,vladan
2015-11-20 23:25:37 -05:00
Mason Chang
69dddb2ff3
Bug 1226316. Fixup to only expand displayport when skating with apz. r=kats
2015-11-20 10:00:47 -08:00
Botond Ballo
001a2d5664
Bug 1226320 - Fix a refactoring in APZCTreeManager that didn't preserve semantics correctly. r=kats
2015-11-19 15:34:50 -05:00
Chris Lord
c6def80200
Bug 1225761 - Clear axis lock in CancelAnimation and EndTouch. r=botond
2015-11-18 18:36:48 +00:00
Randall Barker
4d790c8930
Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats
2015-11-18 19:32:37 -05:00
Mason Chang
28ca4b5b3d
Bug 1208636 - Adjust displayport size based on available system memory. r=kats
2015-11-18 15:48:19 -08:00
Kartikaya Gupta
8543e888e0
Bug 1225571 - Move the code to update the SPCSPS from repaint request handling to when the resolution is updated in the presShell. r=botond
2015-11-18 13:53:14 -05:00
Chris Lord
de99c99d49
Bug 1222524 - Change behaviour of axis-lock with nested APZCs. r=botond
2015-11-17 14:01:06 +00:00
Kartikaya Gupta
927782a371
Bug 1223296
- Clear element activation if a contextmenu is displayed. r=botond
2015-11-13 15:10:52 -05:00
Kartikaya Gupta
272cd4b619
Bug 1223296
- Fire a Gesture:SingleTap message to browser.js even on the C++ APZ codepath. r=rbarker
2015-11-13 15:10:52 -05:00
Kartikaya Gupta
8bbbaa5889
Bug 1223296
- Fire the MozMouseHittest event even if the C++ APZ is enabled. r=rbarker,botond
2015-11-13 15:10:52 -05:00
Kartikaya Gupta
bc9d55c915
Bug 1223296
- Turn HandlePanStart into a more generic function that can be called from other places. r=botond
2015-11-13 15:10:52 -05:00
Timothy Nikkel
54e904ba50
Bug 1223639. Rename ForceInside to MoveInsideAndClamp so it's clearer what it does. r=botond
...
This has led to confusion at least twice.
2015-11-11 16:38:25 -06:00
Botond Ballo
c16d0046cf
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
2015-11-06 22:13:40 -05:00
Kartikaya Gupta
aff0bd88ad
Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking
2015-11-11 10:17:47 -05:00
Randall Barker
d4aac2b75e
Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats
2015-11-10 12:47:48 -05:00
Kartikaya Gupta
b84ed986fc
Bug 1174532 - Even if the APZC is not pannable, have a small slop area to consume touchmove events. r=botond
2015-11-09 16:42:34 -05:00
Kevin Wern
d634b1e29f
Bug 1199798 - Use more generic tree traversal algorithms in APZCTreeManager. r=botond
...
Extend the tree traversal algorithms in TreeTraversal.h, and use them
instead of manual loops in APZCTreeManager.
- Create function ForEachNode(), which calls a function on each node
of a tree. The function must return a TraversalFlag to indicate
whether the node's children should be visited or skipped.
- Modify DepthFirstSearch() and BreadthFirstSearch() to operate on
pointers that are not (necessarily) const. This makes them more
general.
- Refactor functions in APZCTreeManager: Collect, FlushRepaints,
FlushRepaintsRecursively, FlushPendingRepaint,
FlushPendingRepaintRecursively, UpdateZoomConstraints,
UpdateZoomConstraintsRecursively, ClearTree, FindScrollNode.
2015-11-06 12:31:36 -05:00
Benoit Girard
128f7059f8
Bug 1221593 - Don't reset other axis' scroll position during APZ drag. r=kats
2015-11-04 13:00:56 -05:00
Timothy Nikkel
5b874069f1
Bug 1208780. Set a zero-margin displayport on all scrollable ancestors of frames with displayports if they don't already have a displayport. r=botond
2015-11-05 18:57:17 -06:00
Kartikaya Gupta
9859e44130
Bug 1221186 - Don't clobber a fling-snap with a snap-to-where-we-are-now in the overscroll handoff chain. r=botond
2015-11-05 09:31:39 -05:00
Kartikaya Gupta
7134329af8
Bug 1216355 - Ensure that if a repaint request is ignored due to a stale generation number the next repaint request doesn't get dropped. r=botond
2015-11-05 09:31:39 -05:00
Chris Lord
457f3bcd31
Backout ed2fdc36728d (Bug 1177842) for undesirable behaviour. r=botond
2015-11-05 13:58:16 +00:00
Timothy Nikkel
83fa7b1a59
Bug 1215977. Add a flag for GetNearestScrollable that makes fixed pos frames return the root scroll frame of their document. And make APZCCallbackHelper use it to restore previous behaviour. r=botond
...
We may want to do this for fixed pos frames in all documents (not just root documents). However, this patch only maintains the previous behaviour on purpose.
2015-11-04 19:51:03 -06:00
Kartikaya Gupta
f52fe38d2a
Bug 1141127 - When inside a slop area around the first touchstart, prevent touchmove events from going to content. r=botond
2015-11-04 17:09:52 -05:00
Kartikaya Gupta
779ee49536
Bug 1194546 - Ensure that the timeout to allow the transaction to expire waits long enough. r=botond
2015-11-04 14:23:14 -05:00
Kartikaya Gupta
b40e33207a
Bug 1194546 - Wait for the layer tree to reach the compositor before starting to scroll. r=botond
2015-11-04 14:21:06 -05:00
Benoit Girard
99ae906cec
Bug 1220853 - Notify wheel transaction of mouse move when using async dragging. r=kats
2015-11-03 14:21:35 -05:00
Kartikaya Gupta
1c255c218b
Bug 1141884 - Rename ResetInputState and make it only apply to touch events. r=botond
...
In particular, we want to prevent requesting a snap in the scenario that a wheel
block gets prevent-defaulted. In general the function is really only relevant
for touch input and there's no need to run it for other types of input.
2015-11-03 14:21:40 -05:00
Birunthan Mohanathas
94998cf5fe
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Timothy Nikkel
36beff2b65
Bug 1220004. mozInnerScreenX/Y is in CSS pixels, not device pixels. Fix usage of it in apz test utils. r=botond
2015-11-01 11:45:40 -06:00
Kartikaya Gupta
b9078246e6
Bug 1219898 - Remove use of gPreventMouseEvents in APZ event state-tracking code. r=botond
2015-10-30 22:22:28 -04:00
Benoit Girard
65639b03cf
Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
2015-10-26 16:06:49 -04:00
Benoit Girard
425882c2c0
Bug 1219929 - Fix bad MouseInputData case. r=me
2015-10-29 17:36:05 -04:00
Kartikaya Gupta
f12f90789b
Bug 1219391 - Request snapping for the entire handoff chain when ending the fling animation. r=botond
2015-10-28 15:39:13 -04:00
Botond Ballo
c364b92135
Bug 1218618 - Assert that the hit-testing tree's root node doesn't have siblings. r=kats
2015-10-28 15:27:35 -04:00
Kartikaya Gupta
6e308571a4
Bug 1190469 - Request scroll snapping in a few places that animations are cancelled so that we don't leave things unsnapped. r=botond
2015-10-28 14:02:36 -04:00
Kartikaya Gupta
b291337c8d
Bug 1190469 - Refactor some code to have a general-purpose snap function available in APZC. r=botond
2015-10-28 14:02:33 -04:00
Kartikaya Gupta
9b95b17f82
Bug 1217818 - Ignore injected touchstart events for the purposes of prevent-default notifications back to APZ. r=botond
2015-10-28 12:53:52 -04:00
Kartikaya Gupta
e64ec1c1ae
Bug 1217818 - Add support for the mHandledByAPZ flag on touch events as well. r=botond
2015-10-28 12:53:34 -04:00
Kartikaya Gupta
e73636b6d6
Bug 1217818 - Add some more logging to more easily diagnose issues. r=botond
2015-10-28 12:52:54 -04:00
Kartikaya Gupta
7799e57acb
Bug 1217818 - Minor refactoring to reuse a function. r=botond
2015-10-28 12:52:54 -04:00
Chris Lord
e2802f55df
Bug 1177842 - Introduce separate friction for fling-snap. r=botond
2015-10-26 18:04:02 +00:00
Botond Ballo
b215ad8a3f
Bug 1217251 - In TaskThrottler, dispatch the timeout task correctly from the Java UI thread on Android. r=kats
2015-10-22 16:46:11 -04:00