Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andi-Bogdan Postelnicu
783a0fa8c6
Bug 1453795 - Widget - Initialize member fields in classes/ structures. r=jimm
2018-06-15 17:48:51 +03:00
Botond Ballo
16a2f0a9d4
Bug 1458063 - Support constructing a PinchGestureInput with a focus point in Screen coordinates. r=kats
...
MozReview-Commit-ID: 9umkUEEWyBQ
2018-05-02 16:41:47 -04:00
Botond Ballo
c9e4bab5d4
Bug 1458063 - Propagate the APZWheelAction to APZCTreeManager. r=kats
...
MozReview-Commit-ID: Kpr7NGLV7J5
2018-05-02 12:57:23 -04:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Zhang Junzhi
4e076672d1
Bug 1358017 - Part 4: Implements the auto-dir scrolling feature(without the "honour root" functionality) in APZ r=kats
...
This commit implements the auto-dir scrolling functionality in APZ, based on
part 1 to part 3. However, the functionality of mousewheel.autodir.honourroot
will be implemented in a future.
MozReview-Commit-ID: 9xai99x71gh
2018-03-16 19:23:53 +08:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Boris Zbarsky
72b3558850
Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
...
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:
MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h
MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Boris Zbarsky
29226b0510
Bug 1446851. Get rid of nsIDOMWheelEvent. r=qdot
...
We can't include WheelEventBinding.h in MouseEvents.h because that produces
this include loop:
WheelEventBinding.h -> MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> WheelEventBinding.h
MozReview-Commit-ID: 5KNwH69aJYW
2018-03-20 00:16:05 -04:00
Kartikaya Gupta
fff4f4de6b
Bug 1419834 - Add hit-testing results for MozMouseHittest events to APZTestData. r=botond,mrbkap
...
This allows us to fire MozMouseHittest events from tests and then read
the hittest result from the compositor APZTestData. The MozMouseHittest
event was chosen in particular because the existing uses of it are
similar in nature - it is a dummy event that is used to determine what
elements a particular coordinate targets. It is also an event that is
never generated by the OS and so using this event gives us more control
over what ends up in the APZTestData.
MozReview-Commit-ID: KHjIX7EpK2A
2017-11-29 23:16:26 -05:00
Botond Ballo
3f81b77b00
Bug 951793 - Obey overscroll-behavior for swipe navigation. r=mstange
...
MozReview-Commit-ID: i2BuiAfG71
2017-11-25 01:29:15 +01:00
Sebastian Hengst
df2429a1ad
Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
...
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo
c727f2c1bb
Bug 951793 - Obey overscroll-behavior for swipe navigation. r=mstange
...
MozReview-Commit-ID: i2BuiAfG71
2017-10-23 18:27:24 -04:00
Jonathan Watt
90b6f15254
Bug 1413217 - Fix some includes etc. in widget code. r=jimm
...
MozReview-Commit-ID: 8bW6WIPMun4
2017-10-12 17:03:35 +01:00
Chung-Sheng Fu
9a386d616c
Bug 1382499 - Enhance fingerprinting resistance for Touch API r=arthuredelstein,bz
...
MozReview-Commit-ID: 8nzOkvIvwrD
2017-07-31 17:30:38 +08:00
Wes Kocher
d2e462472c
Backed out 3 changesets (bug 1382499) for eslint failures a=backout
...
Backed out changeset 0ebb9924affa (bug 1382499)
Backed out changeset c25b50b0edc5 (bug 1382499)
Backed out changeset 1dcdc22d4919 (bug 1382499)
MozReview-Commit-ID: 9rygU1QF1kb
2017-08-11 13:49:34 -07:00
Chung-Sheng Fu
d8967dcf54
Bug 1382499 - Enhance fingerprinting resistance for Touch API r=arthuredelstein,bz
...
MozReview-Commit-ID: 8nzOkvIvwrD
2017-07-31 17:30:38 +08:00
Ryan Hunt
03a67c3376
Bug 1351783 part 12 - Create and sync focus sequence numbers. r=kats,botond,dvander
...
Focus can change at any moment in a document. This causes non-determinism and
correctness problems for doing keyboard apz scrolling. To get around this, we
will maintain deterministic behavior for focus changes initiated by input events
and see if we can get away with more non-determinism for things like `setTimeout`
In order to do this, we disable async keyboard scrolling when an input event is
processed that could have a event listener. We then attach a sequence number to
that input event and dispatch it to content. In content, we record the highest
sequence number that we have processed from an event, and send that on each focus
update. Using this, we can determine in APZ if we have a current focus target or
if we are still waiting for an input event to be processed and focus to be
reconfirmed.
MozReview-Commit-ID: CWcu8YEFQz4
2017-06-05 19:45:31 -05:00
Ryan Hunt
6aa304d9c7
Bug 1351783 part 2 - Add a KeyboardInput type. r=kats
...
Every event type handled by APZ needs to have a InputData type. This commit
adds a new KeyboardInput type that stores the minimum fields needed to match
keyboard shortcuts.
MozReview-Commit-ID: 3KUnH4sWrST
2017-06-05 18:09:40 -05:00
Randall Barker
c955f482b1
Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
...
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.
MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
Kartikaya Gupta
919bc63a4a
Bug 1298886 - Convert the PinchGestureInput span fields from float to ParentLayerCoord. r=botond
...
MozReview-Commit-ID: 1Odp9ml6reK
2016-09-24 09:46:01 -04:00
Kartikaya Gupta
69e508e53a
Bug 1304729 - When transitioning from a pinch to a pan, make sure we start the pan with the correct coordinates. r=botond
...
MozReview-Commit-ID: CC4gPT2jubR
2016-09-22 14:54:01 -04:00
Kartikaya Gupta
aaa10d3a77
Bug 1289432 - Introduce a skeleton QueuedInput class. r=botond
...
Note that this patch makes the InputData hierarchy polymorphic.
MozReview-Commit-ID: HrZ2KhHeDoy
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
bd194aacd6
Bug 1302093 - Move all the method bodies from InputData.h to InputData.cpp to avoid rebuilding the world for itty-bitty changes. r=mstange
...
MozReview-Commit-ID: 88zPelaPcRR
2016-09-12 09:47:01 -04:00
Nicolas Silva
3766bcc94a
Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
2016-07-26 16:48:30 +02:00
Andi-Bogdan Postelnicu
39f814b141
Bug 1258383 - initialize |mInputSource| with |aMouseEvent.inputSource|. r=kats
...
MozReview-Commit-ID: GpOQyrAlsr3
2016-03-21 16:47:43 +02:00
Kartikaya Gupta
c8800f6bf8
Bug 1273137 - Add the mHandledByAPZ flag to MouseInput as well. r=rbarker
...
MozReview-Commit-ID: EGEzIjvHbml
2016-06-07 11:07:55 -04:00
Masayuki Nakano
94e8c148d6
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
2016-05-10 23:29:14 +09:00
Masayuki Nakano
01372509b5
Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
...
MozReview-Commit-ID: 98G9UMv4qqj
2016-05-10 21:15:05 +09:00
Kartikaya Gupta
d87c0bfcaa
Bug 1269032 - Add support for user multipliers to pan gesture inputs. r=mstange
...
MozReview-Commit-ID: 91ooLOswm7q
2016-05-03 09:09:10 -04:00
Masayuki Nakano
99eab530eb
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
2016-04-18 23:09:02 +09:00
Masayuki Nakano
93fc327cc4
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
2016-03-30 18:44:28 +09:00
Masayuki Nakano
e03653286f
Bug 1259664 part.10 Rename WidgetWheelEvent::lineOrPageDeltaY to WidgetWheelEvent::mLineOrPageDeltaY r=smaug
...
MozReview-Commit-ID: 64lFZosnMbd
2016-04-01 00:10:09 +09:00
Masayuki Nakano
f500b66a38
Bug 1259664 part.9 Rename WidgetWheelEvent::lineOrPageDeltaX to WidgetWheelEvent::mLineOrPageDeltaX r=smaug
...
MozReview-Commit-ID: 1j8SFp6bME4
2016-04-01 00:10:46 +09:00
Masayuki Nakano
33f5661965
Bug 1259664 part.7 Rename WidgetWheelEvent::isMomentum to WidgetWheelEvent::mIsMomentum r=smaug
...
MozReview-Commit-ID: CornLj3WkyG
2016-03-31 23:45:55 +09:00
Masayuki Nakano
0b48391115
Bug 1259664 part.6 Rename WidgetWheelEvent::mayHaveMomentum to WidgetWheelEvent::mMayHaveMomentum r=smaug
...
MozReview-Commit-ID: E6kS0pkOZby
2016-03-31 23:36:49 +09:00
Masayuki Nakano
586a5f0477
Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
...
MozReview-Commit-ID: Ky3xp2NtBWq
2016-03-31 18:35:24 +09:00
Masayuki Nakano
77f5ef2288
Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
...
MozReview-Commit-ID: 3xscKDblY4V
2016-03-31 18:09:47 +09:00
Masayuki Nakano
759761331e
Bug 1259664 part.1 Rename WidgetWheelEvent::deltaX to WidgetWheelEvent::mDeltaX r=smaug
...
MozReview-Commit-ID: F5dQHpPkWfA
2016-03-31 18:55:59 +09:00
Masayuki Nakano
4d73a7381d
Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
...
MozReview-Commit-ID: 7avEiqKfaHA
2016-03-31 17:03:00 +09:00
Arata Furukawa
8db7694bad
Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
...
MozReview-Commit-ID: LRgPxoynx0
2016-03-28 13:49:02 +09:00
Arata Furukawa
a3f2b4162e
Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
...
MozReview-Commit-ID: 7lBCEVkanvF
2016-03-28 13:29:42 +09:00
Randall Barker
729ac8041f
Bug 1251346 - Fennec should not generate touch events from mouse events. r=kats
2016-03-14 16:56:46 -07:00
Randall Barker
d9dff130e1
Bug 1232338 - part 1, Add better mouse support to InputData MouseInput r=kats
2016-03-11 11:03:50 -08:00
Bogdan Postelnicu
3d3c86ac57
Bug 1243359 - initialize mScrollSeriesNumber in all ScrollWheelInput constructors. r=roc
2016-01-28 15:47:28 +02:00
Masayuki Nakano
131b22147a
Bug 1153156 part.4 Make APZC system scroll speed overriding aware r=mstange
2016-01-27 15:09:13 +09:00
Kartikaya Gupta
5e648c5fea
Bug 1235994 - Add a flag to wheel events to track if they may have momentum following them. r=mstange
2016-01-07 10:39:37 -05:00
Botond Ballo
6d77a56654
Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
...
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
2015-11-30 20:06:45 -05:00
Botond Ballo
85af71a0e4
Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
...
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
2015-11-30 20:14:31 -05:00
David Anderson
1f81547632
Add page scroll support for APZ wheel events. (bug 1228028, r=kats)
2015-12-02 17:05:11 -08:00