Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: components/mus/ws/platform_display.cc

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "cc/output/delegated_frame_data.h" 11 #include "cc/output/delegated_frame_data.h"
12 #include "cc/quads/render_pass.h" 12 #include "cc/quads/render_pass.h"
13 #include "cc/quads/shared_quad_state.h" 13 #include "cc/quads/shared_quad_state.h"
14 #include "cc/quads/surface_draw_quad.h" 14 #include "cc/quads/surface_draw_quad.h"
15 #include "components/mus/gles2/gpu_state.h" 15 #include "components/mus/gles2/gpu_state.h"
16 #include "components/mus/public/interfaces/gpu.mojom.h" 16 #include "components/mus/public/interfaces/gpu.mojom.h"
17 #include "components/mus/public/interfaces/quads.mojom.h" 17 #include "components/mus/public/interfaces/quads.mojom.h"
18 #include "components/mus/surfaces/display_compositor.h" 18 #include "components/mus/surfaces/display_compositor.h"
19 #include "components/mus/surfaces/surfaces_state.h" 19 #include "components/mus/surfaces/surfaces_state.h"
20 #include "components/mus/ws/platform_display_factory.h" 20 #include "components/mus/ws/platform_display_factory.h"
21 #include "components/mus/ws/server_window.h" 21 #include "components/mus/ws/server_window.h"
22 #include "components/mus/ws/server_window_surface.h" 22 #include "components/mus/ws/server_window_surface.h"
23 #include "components/mus/ws/server_window_surface_manager.h" 23 #include "components/mus/ws/server_window_surface_manager.h"
24 #include "components/mus/ws/window_coordinate_conversions.h" 24 #include "components/mus/ws/window_coordinate_conversions.h"
25 #include "mojo/converters/geometry/geometry_type_converters.h"
26 #include "mojo/converters/input_events/input_events_type_converters.h" 25 #include "mojo/converters/input_events/input_events_type_converters.h"
27 #include "mojo/converters/input_events/mojo_extended_key_event_data.h" 26 #include "mojo/converters/input_events/mojo_extended_key_event_data.h"
28 #include "mojo/converters/surfaces/surfaces_type_converters.h" 27 #include "mojo/converters/surfaces/surfaces_type_converters.h"
29 #include "mojo/converters/surfaces/surfaces_utils.h" 28 #include "mojo/converters/surfaces/surfaces_utils.h"
30 #include "mojo/converters/transform/transform_type_converters.h" 29 #include "mojo/converters/transform/transform_type_converters.h"
31 #include "services/shell/public/cpp/connection.h" 30 #include "services/shell/public/cpp/connection.h"
32 #include "services/shell/public/cpp/connector.h" 31 #include "services/shell/public/cpp/connector.h"
33 #include "third_party/skia/include/core/SkXfermode.h" 32 #include "third_party/skia/include/core/SkXfermode.h"
34 #include "ui/base/cursor/cursor_loader.h" 33 #include "ui/base/cursor/cursor_loader.h"
35 #include "ui/display/display.h" 34 #include "ui/display/display.h"
36 #include "ui/events/event.h" 35 #include "ui/events/event.h"
37 #include "ui/events/event_utils.h" 36 #include "ui/events/event_utils.h"
37 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
38 #include "ui/platform_window/platform_ime_controller.h" 38 #include "ui/platform_window/platform_ime_controller.h"
39 #include "ui/platform_window/platform_window.h" 39 #include "ui/platform_window/platform_window.h"
40 40
41 #if defined(OS_WIN) 41 #if defined(OS_WIN)
42 #include "ui/platform_window/win/win_window.h" 42 #include "ui/platform_window/win/win_window.h"
43 #elif defined(USE_X11) 43 #elif defined(USE_X11)
44 #include "ui/platform_window/x11/x11_window.h" 44 #include "ui/platform_window/x11/x11_window.h"
45 #elif defined(OS_ANDROID) 45 #elif defined(OS_ANDROID)
46 #include "ui/platform_window/android/platform_window_android.h" 46 #include "ui/platform_window/android/platform_window_android.h"
47 #elif defined(USE_OZONE) 47 #elif defined(USE_OZONE)
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 434
435 void DefaultPlatformDisplay::RequestCopyOfOutput( 435 void DefaultPlatformDisplay::RequestCopyOfOutput(
436 std::unique_ptr<cc::CopyOutputRequest> output_request) { 436 std::unique_ptr<cc::CopyOutputRequest> output_request) {
437 if (display_compositor_) 437 if (display_compositor_)
438 display_compositor_->RequestCopyOfOutput(std::move(output_request)); 438 display_compositor_->RequestCopyOfOutput(std::move(output_request));
439 } 439 }
440 440
441 } // namespace ws 441 } // namespace ws
442 442
443 } // namespace mus 443 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698