forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1273045 Part 2 - Update carets when scrolling in subframes withou…
…t APZ. r=mtseng Override OnScrollPositionChanged() in ScrollState because we want to update carets during scrolling in subframes without APZ. Due to the observation in bug 1273045 comment 8, we do not distinguish PositionChangedResult::NotChanged and PositionChangedResult::Changed. Instead, we always update caret even if its position is not changed. To avoid excessive CaretStateChangedEvents are dispatched in OnScrollPositionChanged(), we add IsScrollStarted to distinguish whether OnScrollStart() is called or not. MozReview-Commit-ID: KNi9Mct4dSk
- Loading branch information
Showing
5 changed files
with
53 additions
and
14 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