Description[mus]Add FrameGenerator::SetHighContrastMode(bool)
Added FrameGenerator::high_contrast_mode_enabled_ flag. The flags of all
FrameGenerators are updated by WindowServer when high contrast mode is toggled
by AccessibilityManager for the current active user.
Toggling high contrast mode triggers a BeginFrame for the FrameGenerator.
FrameGeneratorTest.SetHighContrastMode turns on high contrast mode and verifies
that the CompositorFrame received from FrameGenerator has a InvertFilter with
invert amount of 1.0.
BUG=683732
TBR=msw@chromium.org
Review-Url: https://codereview.chromium.org/2759933007
Cr-Commit-Position: refs/heads/master@{#458421}
Committed: https://chromium.googlesource.com/chromium/src/+/0855d091dfde14cb00275864c1534651441f7180
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed nit and removed instances of FrameGeneratorDelegate #
Total comments: 8
Patch Set 3 : Addressed nits #
Messages
Total messages: 29 (19 generated)
|