Commit Graph

56 Commits

Author SHA1 Message Date
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
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
Randall Barker
04ca0b97b8 Bug 1321644 - part 2, Remove AndroidBridge::PostTaskToUiThread from RemoteContentController.cpp r=botond 2016-12-23 09:08:39 -08:00
Wes Kocher
a18c5a0146 Backed out 2 changesets (bug 1321644) for android xpcshell bustage a=backout
Backed out changeset 60ba1893ecf3 (bug 1321644)
Backed out changeset c25bce77b775 (bug 1321644)
2016-12-22 18:16:23 -08:00
Randall Barker
2e9e7d9f46 Bug 1321644 - part 2, Remove AndroidBridge::PostTaskToUiThread from RemoteContentController.cpp r=botond 2016-12-22 16:15:14 -08:00
James Willcox
cabcdbe6da Bug 1306716 - Follow up to not pass references across threads (!) r=kats 2016-10-05 10:15:04 -05:00
Kartikaya Gupta
0a02bdb466 Bug 1306603 - Remove APZ code that uses the mozpasspointerevents update region. r=kanru
MozReview-Commit-ID: L8QQkoSjFTu
2016-10-05 08:26:59 -04:00
James Willcox
31604b05bb Bug 1306716 - Don't retrieve (and ref) the TabParent on a non-main thread r=kats 2016-10-04 15:16:18 -05:00
James Willcox
d229022cd1 Bug 1306716 - Call TabParent::SendHandleTap from the right thread on Android r=kats 2016-10-03 10:58:41 -05: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
Carsten "Tomcat" Book
2dfe81885a merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
Kartikaya Gupta
46ee0669c7 Bug 1304457 - Add some missing mCanSend checks. r=dvander
MozReview-Commit-ID: Jctjbgilu5z
2016-09-21 13:51:23 -04:00
Kartikaya Gupta
b72d48c379 Bug 1304457 - Ensure that RemoteContentController doesn't try to send any messages after it has sent the Destroy message. r=dvander
MozReview-Commit-ID: 2tEb6nU049R
2016-09-21 13:51:21 -04:00
Kartikaya Gupta
fa522ade6a Bug 1298173 - Push HandleTap from the GPU process back to the parent process before passing it on to the child process. r=dvander
Sending it back via the parent process ensures that it will take the same path
that regular touch events do, and so guarantees that the Tap event won't overtake
the touch events and get dispatched to content first.

MozReview-Commit-ID: 8TiHY2PFPvE
2016-09-21 10:26:33 -04:00
Kartikaya Gupta
42a6254f18 Bug 1298173 - Remove redundant parameter. r=dvander
The parameter is always true if the tap type is a eSingleTap and false in
all other cases, so it's redundant. As it was added as an optimization in bug
1020199 removing it should be safe.

MozReview-Commit-ID: IPB8BUagQl6
2016-09-21 10:25:05 -04:00
Ryan Hunt
081cdf6104 Bug 1289650 - Convert APZChild into a wrapper around GeckoContentController. r=kats
MozReview-Commit-ID: L7ZG7EWKWEo
2016-08-10 16:51:45 -07:00
Ryan Hunt
8c016e29ae Bug 1289650 - Simplify RemoteContentController destruction. r=kats
MozReview-Commit-ID: 3E3kVvychou
2016-08-21 17:43:08 -07:00
Ryan Hunt
b4a64577e1 Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Ryan Hunt
367f0130ba Bug 1289650 - Use PAPZCTreeManager in content process instead of PAPZ. r=kats
MozReview-Commit-ID: LRhvZlNqli
2016-07-31 12:39:00 -07:00
Sebastian Hengst
c42699270d Backed out changeset 9fa5ccaa8c6c (bug 1289650) 2016-08-24 23:15:49 +02:00
Sebastian Hengst
187e1ac303 Backed out changeset 1c7162137f66 (bug 1289650) 2016-08-24 23:15:44 +02:00
Sebastian Hengst
6245647f44 Backed out changeset beb32bdb4d1c (bug 1289650) 2016-08-24 23:15:39 +02:00
Sebastian Hengst
2c110674d6 Backed out changeset 4bc6e2713327 (bug 1289650) 2016-08-24 23:15:35 +02:00
Ryan Hunt
47cda812bf Bug 1289650 - Convert APZChild into a wrapper around GeckoContentController. r=kats
MozReview-Commit-ID: L7ZG7EWKWEo
2016-08-10 16:51:45 -07:00
Ryan Hunt
4df9900657 Bug 1289650 - Simplify RemoteContentController destruction. r=kats
MozReview-Commit-ID: 3E3kVvychou
2016-08-21 17:43:08 -07:00
Ryan Hunt
5745d2990f Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Ryan Hunt
205148488b Bug 1289650 - Use PAPZCTreeManager in content process instead of PAPZ. r=kats
MozReview-Commit-ID: LRhvZlNqli
2016-07-31 12:39:00 -07:00
Kan-Ru Chen
a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Randall Barker
bac11cde77 Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp 2016-08-16 14:33:43 -07:00
Kartikaya Gupta
52a4a4348a Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond
There were a couple of problems when delivering tap gestures to content with
full zoom applied. One was that the ConverToGecko function converted the coords
into "CSS pixel" space by using the web content's CSS-to-LD scale, but also
applied that on the translation from the chrome area. Moving that conversion
to later in the process (after the coords got passed through TabParent::
AdjustTapToChildWidget) corrected that issue.

The other problem was that bits of code in APZEventState and APZCCallbackHelper
were using the widget->GetDefaultScale() value as the CSS-to-LD scale, but that
omitted the full zoom value. Getting the CSS-to-LD scale from the presShell and
propagating that through corrected that issue.

MozReview-Commit-ID: KdrkdEZslHo
2016-07-29 14:44:29 -04:00
Ryan Hunt
c9a4056474 Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
MozReview-Commit-ID: 7tO2kkTNFk2
2016-07-20 13:37:00 +02:00
Carsten "Tomcat" Book
a8c9d4892a Backed out changeset 3119db384fcc (bug 1281575) for bustage 2016-07-21 06:26:58 +02:00
Ryan Hunt
c3d4a9136d Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats 2016-07-20 13:37:00 +02:00
Kartikaya Gupta
b1ccfa8ef7 Bug 1256339 - Collapse the different Handle*Tap functions in GeckoContentController into a single API. r=botond
This is just a refactoring, no functional changes intended.

MozReview-Commit-ID: GRJxVpNAlHC
2016-07-05 13:24:54 -04:00
David Anderson
377d55cdb8 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson
7d29494da2 Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
Wes Kocher
9a683a7c55 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
David Anderson
3a4fe10b40 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson
0314724575 Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
Kyle Huey
b972c94d0f Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07: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
Carsten "Tomcat" Book
aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
4e4a58b922 Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
f3e34e67b3 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -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
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
Kartikaya Gupta
8ef2dcb12d Bug 1255823 - Add a two-step destruction process to PAPZ. r=dvander
MozReview-Commit-ID: FuiwoIAZUKj
2016-04-18 17:25:25 -04:00
Wes Kocher
af12ada861 Backed out changeset 6d973d2f1bae (bug 1255823) for leaks on at least Linux 64 tests CLOSED TREE
MozReview-Commit-ID: 4PsUF6wIJ7y
2016-04-18 10:39:33 -07:00