| Index: components/mus/server_view_delegate.h
|
| diff --git a/components/mus/server_view_delegate.h b/components/mus/server_view_delegate.h
|
| deleted file mode 100644
|
| index abe0aaa5b4aa28d20065af01504354ce84a23610..0000000000000000000000000000000000000000
|
| --- a/components/mus/server_view_delegate.h
|
| +++ /dev/null
|
| @@ -1,40 +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_SERVER_VIEW_DELEGATE_H_
|
| -#define COMPONENTS_MUS_SERVER_VIEW_DELEGATE_H_
|
| -
|
| -#include "base/memory/scoped_ptr.h"
|
| -#include "components/mus/public/interfaces/compositor_frame.mojom.h"
|
| -#include "components/mus/public/interfaces/mus_constants.mojom.h"
|
| -
|
| -namespace cc {
|
| -class CompositorFrame;
|
| -}
|
| -
|
| -namespace mus {
|
| -
|
| -class ServerView;
|
| -class SurfacesState;
|
| -
|
| -class ServerViewDelegate {
|
| - public:
|
| - virtual scoped_ptr<cc::CompositorFrame> UpdateViewTreeFromCompositorFrame(
|
| - const mojo::CompositorFramePtr& input) = 0;
|
| -
|
| - virtual 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 mus
|
| -
|
| -#endif // COMPONENTS_MUS_SERVER_VIEW_DELEGATE_H_
|
|
|