Index: components/view_manager/server_view_delegate.h |
diff --git a/components/view_manager/server_view_delegate.h b/components/view_manager/server_view_delegate.h |
deleted file mode 100644 |
index aa63b8840289c8761e179b5e8d663e90430b0b0a..0000000000000000000000000000000000000000 |
--- a/components/view_manager/server_view_delegate.h |
+++ /dev/null |
@@ -1,43 +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_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
-#define COMPONENTS_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "components/view_manager/public/interfaces/compositor_frame.mojom.h" |
-#include "components/view_manager/public/interfaces/view_manager_constants.mojom.h" |
- |
-namespace cc { |
-class CompositorFrame; |
-} |
- |
-namespace surfaces { |
-class SurfacesState; |
-} |
- |
-namespace view_manager { |
- |
-class ServerView; |
- |
-class ServerViewDelegate { |
- public: |
- virtual scoped_ptr<cc::CompositorFrame> UpdateViewTreeFromCompositorFrame( |
- const mojo::CompositorFramePtr& input) = 0; |
- |
- virtual surfaces::SurfacesState* GetSurfacesState() = 0; |
- |
- virtual void OnScheduleViewPaint(const ServerView* view) = 0; |
- |
- // Returns the root of the view tree to which this |view| is attached. Returns |
- // null if this view is not attached up through to a root view. |
- virtual const ServerView* GetRootView(const ServerView* view) const = 0; |
- |
- protected: |
- virtual ~ServerViewDelegate() {} |
-}; |
- |
-} // namespace view_manager |
- |
-#endif // COMPONENTS_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |