OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "services/ui/ws/platform_display_default.h" | 5 #include "services/ui/ws/platform_display_default.h" |
6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
7 #include "gpu/ipc/client/gpu_channel_host.h" | 8 #include "gpu/ipc/client/gpu_channel_host.h" |
8 #include "services/ui/display/screen_manager.h" | 9 #include "services/ui/display/screen_manager.h" |
9 #include "services/ui/ws/platform_display_init_params.h" | 10 #include "services/ui/ws/platform_display_init_params.h" |
10 #include "services/ui/ws/server_window.h" | 11 #include "services/ui/ws/server_window.h" |
11 #include "ui/base/cursor/image_cursors.h" | 12 #include "ui/base/cursor/image_cursors.h" |
12 #include "ui/display/display.h" | 13 #include "ui/display/display.h" |
13 #include "ui/events/event.h" | 14 #include "ui/events/event.h" |
14 #include "ui/events/event_utils.h" | 15 #include "ui/events/event_utils.h" |
15 #include "ui/platform_window/platform_ime_controller.h" | 16 #include "ui/platform_window/platform_ime_controller.h" |
16 #include "ui/platform_window/platform_window.h" | 17 #include "ui/platform_window/platform_window.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 } | 247 } |
247 | 248 |
248 void PlatformDisplayDefault::OnActivationChanged(bool active) {} | 249 void PlatformDisplayDefault::OnActivationChanged(bool active) {} |
249 | 250 |
250 bool PlatformDisplayDefault::IsInHighContrastMode() { | 251 bool PlatformDisplayDefault::IsInHighContrastMode() { |
251 return delegate_ ? delegate_->IsInHighContrastMode() : false; | 252 return delegate_ ? delegate_->IsInHighContrastMode() : false; |
252 } | 253 } |
253 | 254 |
254 } // namespace ws | 255 } // namespace ws |
255 } // namespace ui | 256 } // namespace ui |
OLD | NEW |