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 "components/mus/ws/platform_display.h" | 5 #include "components/mus/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/output/compositor_frame.h" | 9 #include "cc/output/compositor_frame.h" |
10 #include "cc/output/copy_output_request.h" | 10 #include "cc/output/copy_output_request.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "components/mus/ws/window_coordinate_conversions.h" | 26 #include "components/mus/ws/window_coordinate_conversions.h" |
27 #include "services/shell/public/cpp/connection.h" | 27 #include "services/shell/public/cpp/connection.h" |
28 #include "services/shell/public/cpp/connector.h" | 28 #include "services/shell/public/cpp/connector.h" |
29 #include "third_party/skia/include/core/SkXfermode.h" | 29 #include "third_party/skia/include/core/SkXfermode.h" |
30 #include "ui/base/cursor/cursor_loader.h" | 30 #include "ui/base/cursor/cursor_loader.h" |
31 #include "ui/display/display.h" | 31 #include "ui/display/display.h" |
32 #include "ui/events/event.h" | 32 #include "ui/events/event.h" |
33 #include "ui/events/event_utils.h" | 33 #include "ui/events/event_utils.h" |
34 #include "ui/events/mojo/input_events_type_converters.h" | 34 #include "ui/events/mojo/input_events_type_converters.h" |
35 #include "ui/events/mojo/mojo_extended_key_event_data.h" | 35 #include "ui/events/mojo/mojo_extended_key_event_data.h" |
36 #include "ui/gfx/mojo/transform_type_converters.h" | |
37 #include "ui/platform_window/platform_ime_controller.h" | 36 #include "ui/platform_window/platform_ime_controller.h" |
38 #include "ui/platform_window/platform_window.h" | 37 #include "ui/platform_window/platform_window.h" |
39 | 38 |
40 #if defined(OS_WIN) | 39 #if defined(OS_WIN) |
41 #include "ui/platform_window/win/win_window.h" | 40 #include "ui/platform_window/win/win_window.h" |
42 #elif defined(USE_X11) | 41 #elif defined(USE_X11) |
43 #include "ui/platform_window/x11/x11_window.h" | 42 #include "ui/platform_window/x11/x11_window.h" |
44 #elif defined(OS_ANDROID) | 43 #elif defined(OS_ANDROID) |
45 #include "ui/platform_window/android/platform_window_android.h" | 44 #include "ui/platform_window/android/platform_window_android.h" |
46 #elif defined(USE_OZONE) | 45 #elif defined(USE_OZONE) |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 | 424 |
426 void DefaultPlatformDisplay::RequestCopyOfOutput( | 425 void DefaultPlatformDisplay::RequestCopyOfOutput( |
427 std::unique_ptr<cc::CopyOutputRequest> output_request) { | 426 std::unique_ptr<cc::CopyOutputRequest> output_request) { |
428 if (display_compositor_) | 427 if (display_compositor_) |
429 display_compositor_->RequestCopyOfOutput(std::move(output_request)); | 428 display_compositor_->RequestCopyOfOutput(std::move(output_request)); |
430 } | 429 } |
431 | 430 |
432 } // namespace ws | 431 } // namespace ws |
433 | 432 |
434 } // namespace mus | 433 } // namespace mus |
OLD | NEW |