OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SERVICES_UI_GPU_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_IMPL_H_ | |
6 #define SERVICES_UI_GPU_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_IMPL_H_ | |
7 | |
8 #include "services/ui/public/interfaces/gpu/display_compositor.mojom.h" | |
9 #include "services/ui/public/interfaces/gpu/display_compositor_host.mojom.h" | |
10 | |
11 namespace ui { | |
12 namespace gpu { | |
13 | |
14 class DisplayCompositorImpl : public mojom::DisplayCompositor { | |
15 public: | |
16 DisplayCompositorImpl(); | |
17 ~DisplayCompositorImpl() override; | |
18 | |
19 // mojom::DisplayCompositor implementation. | |
20 void CreateDisplay(int accelerated_widget, | |
21 mojo::InterfaceRequest<mojom::Display> display, | |
22 mojom::DisplayHostPtr host, | |
23 mojo::InterfaceRequest<mojom::CompositorFrameSink> sink, | |
24 mojom::CompositorFrameSinkClientPtr client) override; | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(DisplayCompositorImpl); | |
28 }; | |
29 | |
30 } // namespace gpu | |
31 } // namespace ui | |
32 | |
33 #endif // SERVICES_UI_GPU_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_IMPL_H_ | |
OLD | NEW |