diff options
Diffstat (limited to 'content/browser/accessibility/browser_accessibility_state_impl.cc')
-rw-r--r-- | content/browser/accessibility/browser_accessibility_state_impl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/accessibility/browser_accessibility_state_impl.cc b/content/browser/accessibility/browser_accessibility_state_impl.cc index 08c0775..7edc3e0 100644 --- a/content/browser/accessibility/browser_accessibility_state_impl.cc +++ b/content/browser/accessibility/browser_accessibility_state_impl.cc @@ -7,6 +7,7 @@ #include "base/memory/singleton.h" #include "base/metrics/histogram.h" #include "base/timer.h" +#include "ui/gfx/sys_color_change_listener.h" // Update the accessibility histogram 45 seconds after initialization. static const int kAccessibilityHistogramDelaySecs = 45; @@ -51,4 +52,7 @@ void BrowserAccessibilityStateImpl::UpdateHistogram() { UMA_HISTOGRAM_ENUMERATION("Accessibility.State", accessibility_enabled_ ? 1 : 0, 2); + UMA_HISTOGRAM_ENUMERATION("Accessibility.InvertedColors", + gfx::IsInvertedColorScheme() ? 1 : 0, + 2); } |