Index: components/mus/ws/server_window_delegate.h |
diff --git a/components/mus/ws/server_window_delegate.h b/components/mus/ws/server_window_delegate.h |
deleted file mode 100644 |
index 24d6bbd0daae80879a6a661cdb8de67e69507a38..0000000000000000000000000000000000000000 |
--- a/components/mus/ws/server_window_delegate.h |
+++ /dev/null |
@@ -1,46 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef COMPONENTS_MUS_WS_SERVER_WINDOW_DELEGATE_H_ |
-#define COMPONENTS_MUS_WS_SERVER_WINDOW_DELEGATE_H_ |
- |
-#include <memory> |
- |
-#include "components/mus/public/interfaces/mus_constants.mojom.h" |
-#include "components/mus/public/interfaces/window_tree.mojom.h" |
- |
-namespace mus { |
- |
-class SurfacesState; |
- |
-namespace ws { |
- |
-struct ClientWindowId; |
-class ServerWindow; |
-struct WindowId; |
- |
-class ServerWindowDelegate { |
- public: |
- virtual SurfacesState* GetSurfacesState() = 0; |
- |
- virtual void OnScheduleWindowPaint(ServerWindow* window) = 0; |
- |
- // Returns the root of the window tree to which this |window| is attached. |
- // Returns null if this window is not attached up through to a root window. |
- virtual const ServerWindow* GetRootWindow( |
- const ServerWindow* window) const = 0; |
- |
- // Schedules a callback to DestroySurfacesScheduledForDestruction() at the |
- // appropriate time, which may be synchronously. |
- virtual void ScheduleSurfaceDestruction(ServerWindow* window) = 0; |
- |
- protected: |
- virtual ~ServerWindowDelegate() {} |
-}; |
- |
-} // namespace ws |
- |
-} // namespace mus |
- |
-#endif // COMPONENTS_MUS_WS_SERVER_WINDOW_DELEGATE_H_ |