Index: services/ui/ws/display.cc |
diff --git a/services/ui/ws/display.cc b/services/ui/ws/display.cc |
index c1b75ebbacd55c6f4d04348abc32840324559f68..f733e83b6f0414ecf630f81bda5ae94e813fbbd1 100644 |
--- a/services/ui/ws/display.cc |
+++ b/services/ui/ws/display.cc |
@@ -275,6 +275,10 @@ ServerWindow* Display::GetRootWindow() { |
return root_.get(); |
} |
+bool Display::IsInHighContrastMode() { |
+ return window_server_->IsActiveUserInHighContrastMode(); |
+} |
+ |
void Display::OnEvent(const ui::Event& event) { |
WindowManagerDisplayRoot* display_root = GetActiveWindowManagerDisplayRoot(); |
if (display_root) |