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 1596317 - Implement SetPrefersReducedMotionOverrideForTest backen…
…d for GTK. r=emilio On GTK changing gtk-enable-animation in a process doesn't affect in different processes for some reasons. So we take the same approach as what we did for OSX[1] that is when SetPrefersReducedMotionOverrideForTest is called we set the given value as a cache in the parent process and send a notification to system as if the value changed thus the notification kicks PBroser.ThemeChanged to update the cache in the content process, thus we can use the cache value on querying the corresponding value in the content process. [1] https://hg.mozilla.org/mozilla-central/rev/67a5acf7363d Differential Revision: https://phabricator.services.mozilla.com/D57260
- Loading branch information
Showing
6 changed files
with
58 additions
and
12 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
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