| 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_MANAGER_H_ | 5 #ifndef COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ |
| 6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ | 6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/containers/scoped_ptr_map.h" | 8 #include "base/containers/scoped_ptr_map.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "cc/surfaces/surface_factory.h" | 10 #include "cc/surfaces/surface_factory.h" |
| 11 #include "cc/surfaces/surface_id.h" | 11 #include "cc/surfaces/surface_id.h" |
| 12 #include "cc/surfaces/surface_id_allocator.h" | 12 #include "cc/surfaces/surface_id_allocator.h" |
| 13 #include "components/mus/public/interfaces/compositor_frame.mojom.h" | 13 #include "components/mus/public/interfaces/compositor_frame.mojom.h" |
| 14 #include "components/mus/public/interfaces/window_tree.mojom.h" | 14 #include "components/mus/public/interfaces/window_tree.mojom.h" |
| 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 15 #include "mojo/public/cpp/bindings/binding.h" |
| 16 | 16 |
| 17 namespace mus { | 17 namespace mus { |
| 18 namespace ws { | 18 namespace ws { |
| 19 | 19 |
| 20 class ServerWindow; | 20 class ServerWindow; |
| 21 class ServerWindowSurface; | 21 class ServerWindowSurface; |
| 22 | 22 |
| 23 // ServerWindowSurfaceManager tracks the surfaces associated with a | 23 // ServerWindowSurfaceManager tracks the surfaces associated with a |
| 24 // ServerWindow. | 24 // ServerWindow. |
| 25 class ServerWindowSurfaceManager { | 25 class ServerWindowSurfaceManager { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 53 | 53 |
| 54 TypeToSurfaceMap type_to_surface_map_; | 54 TypeToSurfaceMap type_to_surface_map_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurfaceManager); | 56 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurfaceManager); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace ws | 59 } // namespace ws |
| 60 } // namespace mus | 60 } // namespace mus |
| 61 | 61 |
| 62 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ | 62 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ |
| OLD | NEW |