| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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.h" | 5 #include "services/ui/ws/platform_display.h" |
| 6 | 6 |
| 7 #include "base/numerics/safe_conversions.h" | 7 #include "base/numerics/safe_conversions.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "cc/ipc/quads.mojom.h" | 9 #include "cc/ipc/quads.mojom.h" |
| 10 #include "cc/output/copy_output_request.h" | 10 #include "cc/output/copy_output_request.h" |
| 11 #include "cc/output/delegated_frame_data.h" | 11 #include "cc/output/delegated_frame_data.h" |
| 12 #include "gpu/ipc/client/gpu_channel_host.h" | 12 #include "gpu/ipc/client/gpu_channel_host.h" |
| 13 #include "services/service_manager/public/cpp/connection.h" | 13 #include "services/service_manager/public/cpp/connection.h" |
| 14 #include "services/service_manager/public/cpp/connector.h" | 14 #include "services/service_manager/public/cpp/connector.h" |
| 15 #include "services/ui/display/platform_screen.h" | 15 #include "services/ui/display/platform_screen.h" |
| 16 #include "services/ui/surfaces/display_compositor.h" | 16 #include "services/ui/surfaces/display_compositor.h" |
| 17 #include "services/ui/ws/platform_display_factory.h" | 17 #include "services/ui/ws/platform_display_factory.h" |
| 18 #include "services/ui/ws/platform_display_init_params.h" | 18 #include "services/ui/ws/platform_display_init_params.h" |
| 19 #include "services/ui/ws/server_window.h" | 19 #include "services/ui/ws/server_window.h" |
| 20 #include "services/ui/ws/window_coordinate_conversions.h" | 20 #include "services/ui/ws/window_coordinate_conversions.h" |
| 21 #include "third_party/skia/include/core/SkXfermode.h" | 21 #include "third_party/skia/include/core/SkBlendMode.h" |
| 22 #include "ui/base/cursor/cursor_loader.h" | 22 #include "ui/base/cursor/cursor_loader.h" |
| 23 #include "ui/display/display.h" | 23 #include "ui/display/display.h" |
| 24 #include "ui/events/event.h" | 24 #include "ui/events/event.h" |
| 25 #include "ui/events/event_utils.h" | 25 #include "ui/events/event_utils.h" |
| 26 #include "ui/platform_window/platform_ime_controller.h" | 26 #include "ui/platform_window/platform_ime_controller.h" |
| 27 #include "ui/platform_window/platform_window.h" | 27 #include "ui/platform_window/platform_window.h" |
| 28 | 28 |
| 29 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
| 30 #include "ui/platform_window/win/win_window.h" | 30 #include "ui/platform_window/win/win_window.h" |
| 31 #elif defined(USE_X11) | 31 #elif defined(USE_X11) |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 void DefaultPlatformDisplay::OnActivationChanged(bool active) {} | 267 void DefaultPlatformDisplay::OnActivationChanged(bool active) {} |
| 268 | 268 |
| 269 bool DefaultPlatformDisplay::IsInHighContrastMode() { | 269 bool DefaultPlatformDisplay::IsInHighContrastMode() { |
| 270 return delegate_ ? delegate_->IsInHighContrastMode() : false; | 270 return delegate_ ? delegate_->IsInHighContrastMode() : false; |
| 271 } | 271 } |
| 272 | 272 |
| 273 } // namespace ws | 273 } // namespace ws |
| 274 | 274 |
| 275 } // namespace ui | 275 } // namespace ui |
| OLD | NEW |