| 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 SERVICES_UI_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ |
| 6 #define COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ | 6 #define SERVICES_UI_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "cc/ipc/compositor_frame.mojom.h" | 11 #include "cc/ipc/compositor_frame.mojom.h" |
| 12 #include "cc/surfaces/surface_factory.h" | 12 #include "cc/surfaces/surface_factory.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/window_tree.mojom.h" | |
| 16 #include "mojo/public/cpp/bindings/binding.h" | 15 #include "mojo/public/cpp/bindings/binding.h" |
| 16 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 17 | 17 |
| 18 namespace mus { | 18 namespace mus { |
| 19 namespace ws { | 19 namespace ws { |
| 20 | 20 |
| 21 class ServerWindow; | 21 class ServerWindow; |
| 22 class ServerWindowSurface; | 22 class ServerWindowSurface; |
| 23 class ServerWindowSurfaceManagerTestApi; | 23 class ServerWindowSurfaceManagerTestApi; |
| 24 | 24 |
| 25 // ServerWindowSurfaceManager tracks the surfaces associated with a | 25 // ServerWindowSurfaceManager tracks the surfaces associated with a |
| 26 // ServerWindow. | 26 // ServerWindow. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // least that of the window. Ideally we would wait for sizes to match, but | 74 // least that of the window. Ideally we would wait for sizes to match, but |
| 75 // the underlay is not necessarily as big as the window. | 75 // the underlay is not necessarily as big as the window. |
| 76 bool waiting_for_initial_frames_; | 76 bool waiting_for_initial_frames_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurfaceManager); | 78 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurfaceManager); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace ws | 81 } // namespace ws |
| 82 } // namespace mus | 82 } // namespace mus |
| 83 | 83 |
| 84 #endif // COMPONENTS_MUS_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ | 84 #endif // SERVICES_UI_WS_SERVER_WINDOW_SURFACE_MANAGER_H_ |
| OLD | NEW |