| Index: services/ui/ws/display_manager.cc
|
| diff --git a/services/ui/ws/display_manager.cc b/services/ui/ws/display_manager.cc
|
| index 06b19e60b73a378a599663cdf2f2de73e314b891..b671322c7bcb0b82d0571f584d58ae4a6fc4f50e 100644
|
| --- a/services/ui/ws/display_manager.cc
|
| +++ b/services/ui/ws/display_manager.cc
|
| @@ -13,6 +13,7 @@
|
| #include "services/ui/ws/display.h"
|
| #include "services/ui/ws/display_binding.h"
|
| #include "services/ui/ws/event_dispatcher.h"
|
| +#include "services/ui/ws/frame_generator.h"
|
| #include "services/ui/ws/server_window.h"
|
| #include "services/ui/ws/user_display_manager.h"
|
| #include "services/ui/ws/user_display_manager_delegate.h"
|
| @@ -164,6 +165,13 @@ void DisplayManager::OnDisplayAcceleratedWidgetAvailable(Display* display) {
|
| window_server_->OnDisplayReady(display, is_first_display);
|
| }
|
|
|
| +void DisplayManager::SetHighContrastMode(bool enabled) {
|
| + for (Display* display : displays_) {
|
| + display->platform_display()->GetFrameGenerator()->SetHighContrastMode(
|
| + enabled);
|
| + }
|
| +}
|
| +
|
| void DisplayManager::OnActiveUserIdChanged(const UserId& previously_active_id,
|
| const UserId& active_id) {
|
| WindowManagerState* previous_window_manager_state =
|
|
|