OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_H_ | 5 #ifndef COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_H_ |
6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_H_ | 6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "cc/surfaces/surface_factory.h" | 11 #include "cc/surfaces/surface_factory.h" |
12 #include "cc/surfaces/surface_factory_client.h" | 12 #include "cc/surfaces/surface_factory_client.h" |
13 #include "cc/surfaces/surface_id.h" | 13 #include "cc/surfaces/surface_id.h" |
14 #include "cc/surfaces/surface_id_allocator.h" | 14 #include "cc/surfaces/surface_id_allocator.h" |
15 #include "components/mus/public/interfaces/compositor_frame.mojom.h" | 15 #include "components/mus/public/interfaces/compositor_frame.mojom.h" |
16 #include "components/mus/public/interfaces/window_tree.mojom.h" | 16 #include "components/mus/public/interfaces/window_tree.mojom.h" |
17 #include "components/mus/ws/ids.h" | 17 #include "components/mus/ws/ids.h" |
18 #include "mojo/converters/surfaces/custom_surface_converter.h" | 18 #include "mojo/converters/surfaces/custom_surface_converter.h" |
19 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 19 #include "mojo/public/cpp/bindings/binding.h" |
20 | 20 |
21 namespace mus { | 21 namespace mus { |
22 | 22 |
23 class SurfacesState; | 23 class SurfacesState; |
24 | 24 |
25 namespace ws { | 25 namespace ws { |
26 | 26 |
27 class ServerWindow; | 27 class ServerWindow; |
28 class ServerWindowSurfaceManager; | 28 class ServerWindowSurfaceManager; |
29 | 29 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 std::set<cc::SurfaceId> surfaces_scheduled_for_destruction_; | 95 std::set<cc::SurfaceId> surfaces_scheduled_for_destruction_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurface); | 97 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurface); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace ws | 100 } // namespace ws |
101 | 101 |
102 } // namespace mus | 102 } // namespace mus |
103 | 103 |
104 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_H_ | 104 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_H_ |
OLD | NEW |