Index: components/mus/ws/server_window_surface_manager.h |
diff --git a/components/mus/ws/server_window_surface_manager.h b/components/mus/ws/server_window_surface_manager.h |
index b4ae7248a3cc4d8d0c7d5f239708bc76c11b4645..b2d25769b9a0b1b214f5009fd95b744e5df83d1d 100644 |
--- a/components/mus/ws/server_window_surface_manager.h |
+++ b/components/mus/ws/server_window_surface_manager.h |
@@ -20,6 +20,7 @@ namespace ws { |
class ServerWindow; |
class ServerWindowSurface; |
+class ServerWindowSurfaceManagerTestApi; |
// ServerWindowSurfaceManager tracks the surfaces associated with a |
// ServerWindow. |
@@ -39,8 +40,10 @@ class ServerWindowSurfaceManager { |
ServerWindowSurface* GetDefaultSurface(); |
ServerWindowSurface* GetUnderlaySurface(); |
ServerWindowSurface* GetSurfaceByType(mojom::SurfaceType type); |
+ bool HasSurfaceOfType(mojom::SurfaceType type); |
private: |
+ friend class ServerWindowSurfaceManagerTestApi; |
friend class ServerWindowSurface; |
cc::SurfaceId GenerateId(); |