
The first part of the Auto Disable Refresh work, is to clean up BrowserAccessibilityState and what it's responsible for. It should only know about AXMode and assistive technologies. High contrast is not related to a11y trees. In addition, having this code prevents some other simplifications, specifically removing UpdateUniqueUserHistograms(). Bug: none Change-Id: I2932f64a4f89cf7ec0cae657a9aee2f8d297d48d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6343691 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by: Elly FJ <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/main@{#1431114}
Native Theme Rendering for UI
This directory contains source needed to draw UI elements in a native fashion, either by actually calling native APIs or by emulating/reimplementing native behavior. The primary class is NativeTheme, which provides a cross-platform API for things like "is the system in dark mode" and "how do I draw/color various bits of UI".