| Index: components/mus/ws/window_server_delegate.h
|
| diff --git a/components/mus/ws/window_server_delegate.h b/components/mus/ws/window_server_delegate.h
|
| deleted file mode 100644
|
| index 62a8db4b07a71c0e35d90d6cd44bc764e52a3555..0000000000000000000000000000000000000000
|
| --- a/components/mus/ws/window_server_delegate.h
|
| +++ /dev/null
|
| @@ -1,67 +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_WINDOW_SERVER_DELEGATE_H_
|
| -#define COMPONENTS_MUS_WS_WINDOW_SERVER_DELEGATE_H_
|
| -
|
| -#include <stdint.h>
|
| -
|
| -#include <memory>
|
| -#include <string>
|
| -
|
| -#include "components/mus/common/types.h"
|
| -#include "components/mus/public/interfaces/window_tree.mojom.h"
|
| -#include "mojo/public/cpp/bindings/interface_request.h"
|
| -
|
| -namespace mus {
|
| -
|
| -namespace mojom {
|
| -class Display;
|
| -class WindowManagerFactory;
|
| -class WindowTree;
|
| -}
|
| -
|
| -namespace ws {
|
| -
|
| -class Display;
|
| -class ServerWindow;
|
| -class WindowServer;
|
| -class WindowTree;
|
| -class WindowTreeBinding;
|
| -
|
| -class WindowServerDelegate {
|
| - public:
|
| - enum BindingType {
|
| - EMBED,
|
| - WINDOW_MANAGER,
|
| - };
|
| -
|
| - // Called if no Displays have been created, but a WindowManagerFactory has
|
| - // been set.
|
| - virtual void CreateDefaultDisplays() = 0;
|
| -
|
| - // Called once when the AcceleratedWidget of a Display is available.
|
| - virtual void OnFirstDisplayReady();
|
| -
|
| - virtual void OnNoMoreDisplays() = 0;
|
| -
|
| - virtual bool IsTestConfig() const = 0;
|
| -
|
| - // Creates a WindowTreeBinding. Default implementation returns null, which
|
| - // creates DefaultBinding.
|
| - virtual std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding(
|
| - BindingType type,
|
| - ws::WindowServer* window_server,
|
| - ws::WindowTree* tree,
|
| - mojom::WindowTreeRequest* tree_request,
|
| - mojom::WindowTreeClientPtr* client);
|
| -
|
| - protected:
|
| - virtual ~WindowServerDelegate() {}
|
| -};
|
| -
|
| -} // namespace ws
|
| -} // namespace mus
|
| -
|
| -#endif // COMPONENTS_MUS_WS_WINDOW_SERVER_DELEGATE_H_
|
|
|