Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[embedlite] Switch to use APZEventState (async pan&zoom) for input ha…
…ndling. Fixes JB#44361 Firstly received input data from application side is const_casted once and APZCTreeManager updates state for the input data. After this multi touch input is send to the EmbedLiteViewBaseChild for processing (ipc message (de)marshalling fixed) the touch input through the APZEventState. The APZEventState in turn calls a ContentReceivedInputBlockCallback in case input data has reached the content and no pannign or such happen. Only after callback is called the EmbedLiteViewBaseChild informs EmbedLiteViewBaseParent that content has received an input block. Finally, EmbedLiteViewBaseParent updates information to the APZTreeManager. Also NotifyAPZStateChange and NotifyFlushComplete are now implemented. Responsibilities between EmbedContentController and EmbedLiteViewBaseParent are clarified at the same go. CCS touch actions are disabled still on the code level. Thus, enabling layout.css.touch_action.enabled preference would not do anything.
- Loading branch information
Showing
11 changed files
with
410 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.