| Index: components/window_manager/window_manager_impl.h
|
| diff --git a/components/window_manager/window_manager_impl.h b/components/window_manager/window_manager_impl.h
|
| deleted file mode 100644
|
| index 0ee6f88df6706d5e1990c51b7f2f094ec74aa4ff..0000000000000000000000000000000000000000
|
| --- a/components/window_manager/window_manager_impl.h
|
| +++ /dev/null
|
| @@ -1,53 +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_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_
|
| -#define COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_
|
| -
|
| -#include "base/basictypes.h"
|
| -#include "base/logging.h"
|
| -#include "components/view_manager/public/cpp/types.h"
|
| -#include "components/window_manager/public/interfaces/window_manager.mojom.h"
|
| -#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
|
| -#include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h"
|
| -
|
| -namespace window_manager {
|
| -
|
| -class WindowManagerApp;
|
| -
|
| -class WindowManagerImpl : public mojo::WindowManager,
|
| - public mojo::ErrorHandler {
|
| - public:
|
| - // See description above |from_vm_| for details on |from_vm|.
|
| - // WindowManagerImpl deletes itself on connection errors. WindowManagerApp
|
| - // also deletes WindowManagerImpl in its destructor.
|
| - WindowManagerImpl(WindowManagerApp* window_manager, bool from_vm);
|
| - ~WindowManagerImpl() override;
|
| -
|
| - void Bind(mojo::ScopedMessagePipeHandle window_manager_pipe);
|
| -
|
| - private:
|
| - // mojo::WindowManager:
|
| - void Embed(const mojo::String& url,
|
| - mojo::InterfaceRequest<mojo::ServiceProvider> services,
|
| - mojo::ServiceProviderPtr exposed_services) override;
|
| -
|
| - // mojo::ErrorHandler:
|
| - void OnConnectionError() override;
|
| -
|
| - WindowManagerApp* window_manager_;
|
| -
|
| - // Whether this connection originated from the ViewManager. Connections that
|
| - // originate from the view manager are expected to have clients. Connections
|
| - // that don't originate from the view manager do not have clients.
|
| - const bool from_vm_;
|
| -
|
| - mojo::Binding<mojo::WindowManager> binding_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl);
|
| -};
|
| -
|
| -} // namespace window_manager
|
| -
|
| -#endif // COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_IMPL_H_
|
|
|