Botond Ballo
ccf43ba5f2
Bug 1346632 - On desktop platforms, do not ignore the root scroll frame when hit-testing in PrepareForSetTargetAPZCNotification. r=kats
...
Doing so produces incorrect hit testing results in some scenarios, e.g. when
dragging the scrollbar on certain pages.
MozReview-Commit-ID: AA0nu042U00
2017-03-15 17:52:13 -04:00
Timothy Nikkel
64b824d10e
Bug 1346109. Set a displayport base in APZCCallbackHelper::InitializeRootDisplayport when we set displayport margins. r=botond
...
Since this is for a root document this isn't that hard.
2017-03-20 00:14:57 -05:00
Jeff Muizelaar
a01a5a2701
Bug 1346585. Only call describe when we're actually going to do the logging r=kats
...
Element::Describe() was taking 238ms on
https://bevasarlas.tesco.hu/groceries/en-GB .
We definitely don't want to be doing it if we don't have to.
2017-03-15 17:54:56 -04:00
Botond Ballo
c65e635354
Bug 1328658 - Notify main thread of a failed attempt to start an APZ scrollbar drag. r=kats,tnikkel
...
MozReview-Commit-ID: ERm1sVNfoKL
2017-01-27 18:02:22 -05:00
Ehsan Akhgari
0ea96fc715
Bug 1335070 - Switch the PresShell::Paint profiler marker to use GetPrimaryContentDocument to annotate using the content document; r=tn
2017-02-02 18:22:53 -05:00
Botond Ballo
f846c3557d
Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
...
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.
MozReview-Commit-ID: A02qRb6yWxg
2017-01-04 13:42:36 -05:00
Ho-Pang
01ad6dda9d
Bug 1299209 - Part 1: Passing PointerId when a new WidgetMouseEvent is created. h=sshih, r=smaug
2016-12-20 22:53:00 -05:00
Kartikaya Gupta
afeacc30d9
Bug 1308483 - Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
...
MozReview-Commit-ID: GYfLAPle5Kl
2016-10-07 15:10:39 -04:00
Kartikaya Gupta
1a62c7772f
Bug 1302736 - Fire click events with a clickCount of 2 when the user does a double-tap gesture with double taps not allowed. r=botond
...
MozReview-Commit-ID: 5qxHMoHXDXh
2016-09-29 10:05:25 -04:00
Kartikaya Gupta
d5af77e8a9
Bug 1298886 - Fire magnify gesture events in the parent process if APZ is enabled but APZ zooming is disabled. r=botond,dvander
...
MozReview-Commit-ID: 1yhJW7OhI0A
2016-09-24 09:46:02 -04:00
Stone Shih
bfe46c33cf
Bug 1292070 - Part 2: Add API to synthesize mouse event with buttons. f=bevistseng, r=smaug
2016-08-18 11:58:48 +08:00
Kartikaya Gupta
783f8b0fc7
Bug 1286179 - For APZ repaint requests that are triggered by main-thread updates, don't attempt to re-scroll the main thread. r=tnikkel
...
Avoiding these re-scrolls prevents APZ repaint requests from clobbering the
main-thread scroll position (which may have changed in the meantime) in some
cases. See https://bugzilla.mozilla.org/show_bug.cgi?id=1286179#c8 for an example
of a scenario where this re-scroll is problematic.
MozReview-Commit-ID: 7he2A2sygji
2016-08-18 17:00:42 -04:00
Randall Barker
bac11cde77
Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp
2016-08-16 14:33:43 -07:00
Botond Ballo
efcf44488d
Bug 1290823 - Introduce a helper APZCCallbackHelper::GetPresContextForContent(). r=rbarker
...
And use it in APZCCallbackHelper::GetRootContentDocumentPresShellForContent().
MozReview-Commit-ID: 9Gm8kgbqlHm
2016-08-08 15:19:24 -04:00
Stone Shih
78f96ab614
Bug 1285070 - Real touch events will generate corresponding pointer events twice. r=kats
2016-07-07 09:53:38 +08:00
Stone Shih
127957f0ee
Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug
2016-07-07 15:28:11 +08:00
Randall Barker
82778b7eed
Bug 1289322 - Link clicking is detected in the wrong location r=kats
2016-07-26 19:12:29 -07:00
Nicolas Silva
fff99d452b
Bug 1284837 - Add conversions methods from Point and Size to IntPoint and IntSize for consistency. r=botond
2016-07-26 16:48:34 +02: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
Kartikaya Gupta
5b3d6a737f
Bug 1287576 - Update the touch-behavior notification code to behave like the set-target-apzc notification code. r=botond
...
In particular, this change uses the root frame of the touch target document,
so that the correct presShell resolution is used when doing the touch-action
hit test.
MozReview-Commit-ID: 2bra6PIRqkR
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
68cdcfc236
Bug 1287576 - Extract a helper method to update a frame to the touch target document's root frame. No functional changes. r=botond
...
MozReview-Commit-ID: 3SRxAfTeMR
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
5bcc2d6ff9
Bug 1287576 - Change namespace and do some formatting cleanup for TouchActionHelper. r=botond
...
MozReview-Commit-ID: 5Ih5NipLKwI
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
c3af0ce458
Bug 1284553 - Use a fuzzy-compare for the presShell resolution so that negligible differences don't block all repaint requests. r=botond
...
MozReview-Commit-ID: LtxP7HGGRXn
2016-07-06 15:19:23 -04:00
Carsten "Tomcat" Book
a4e037cf44
merge mozilla-central to mozilla-inbound
2016-06-29 16:20:21 +02:00
Kartikaya Gupta
fbb4a92809
Bug 1280013 - Incorporate the APZ callback transforms when using the root composition bounds to clip the displayport base. r=botond,tnikkel
...
MozReview-Commit-ID: 1HOGQnCjIMt
2016-06-29 08:50:20 -04:00
Kartikaya Gupta
55ac5da9e6
Bug 1280667 - Don't update the callback transform if the APZ repaint request was rejected by a concurrent main-thread scroll position update. r=botond
...
MozReview-Commit-ID: 7jCdyN9H6T8
2016-06-27 12:20:30 -04:00
Kartikaya Gupta
1e79f9ac80
Bug 1273137 - Add the missing main-thread target confirmation for drag blocks. r=rbarker
...
This patch also cleans up some inconsistencies in the conditions under which the
main thread would respond to wheel and mouse events. With this patch applied, the
main-thread notifications are only sent if the input block id is nonzero, which
indicates the APZ actually processed the input event and added it to an input
block.
MozReview-Commit-ID: GBlgj6whi5T
2016-06-07 11:07:55 -04:00
eyim
c53a818ae3
Bug 1145085 - Move widget/ContentHelper.* to gfx/layers/apz/util/TouchActionHelper.*. r=BenWa,kats
...
r?BenWa,kats
MozReview-Commit-ID: 5snt3fIGnAS
2016-05-27 16:46:25 -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
Kyle Huey
7bfda7e22f
Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
a12183832c
Backed out changeset 4bcb784492bb (bug 1268313)
2016-04-29 14:21:18 +02:00
Kyle Huey
4e4a58b922
Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kartikaya Gupta
b3b502bdfa
Bug 1248078 - Remove the dedicated scroll acknowledgement message. r=botond
...
MozReview-Commit-ID: L6MuRX4oT3y
2016-04-18 12:31:54 -04:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Kartikaya Gupta
6c5d51145c
Back out bug 1248078 (cset 1fd853200c99) for talos regressions. r=backout
...
MozReview-Commit-ID: 3qV2wKQOtAL
2016-04-22 12:07:36 -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
Kartikaya Gupta
7f73ae9fdf
Bug 1248078 - Remove the dedicated scroll acknowledgement message. r=botond
...
MozReview-Commit-ID: 6QGFiZ8QGl7
2016-04-18 12:31:54 -04:00
Masayuki Nakano
35775b20e1
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
2016-04-14 17:03:14 +09:00
Kartikaya Gupta
5aaa975a6f
Bug 1257641 - Allow enabling/disabling of displayport suppression for tests. r=botond
...
MozReview-Commit-ID: 7p2RIyPyzkH
2016-04-13 10:21:13 -04:00
Kartikaya Gupta
5e0833b75a
Bug 1262432 - Remove assertion that may be legitimately false sometimes. r=tnikkel
...
MozReview-Commit-ID: HiGUlpypb75
2016-04-12 15:19:47 -04: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
Botond Ballo
f09f766e68
Bug 1259301 - Remove GeckoContentController::RequestFlingSnap(). r=kats
...
MozReview-Commit-ID: DRntzo1hohv
2016-03-30 21:11:00 -04: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
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
Benoit Girard
67ffec25f7
Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
...
MozReview-Commit-ID: K5PTxUqU9E6
2016-03-14 11:50:55 -04:00
Kartikaya Gupta
7c94c0e509
Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
...
MozReview-Commit-ID: 9V7xXPT8WHk
2016-03-10 18:25:48 -05:00
Kartikaya Gupta
344813f69a
Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
...
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Kartikaya Gupta
2fdf656213
Bug 1255054 - Try to do a repaint of the unsuppressed displayport after displayport suppression has ended. r=BenWa
...
MozReview-Commit-ID: 7JN4PHEEjUT
2016-03-09 16:56:54 -05:00
Kartikaya Gupta
4e1eb6601b
Bug 1192910 - Ensure we flush paints on the main thread during an APZ flush. r=mstange
...
MozReview-Commit-ID: 61dyeqxxtVP
2016-03-07 16:27:44 -05:00