| Index: mojo/services/window_manager/view_manager_service_delegate_impl.h
|
| diff --git a/mojo/services/window_manager/view_manager_service_delegate_impl.h b/mojo/services/window_manager/view_manager_service_delegate_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..83c9c979ec72ec1a0e0f714b8007bb26b2319e5a
|
| --- /dev/null
|
| +++ b/mojo/services/window_manager/view_manager_service_delegate_impl.h
|
| @@ -0,0 +1,38 @@
|
| +// 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 MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_
|
| +#define MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "mojo/services/public/interfaces/view_manager/view_manager_service_delegate.mojom.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +class WindowManagerApp;
|
| +
|
| +class ViewManagerServiceDelegateImpl
|
| + : public InterfaceImpl<ViewManagerServiceDelegate> {
|
| + public:
|
| + explicit ViewManagerServiceDelegateImpl(WindowManagerApp* app);
|
| + virtual ~ViewManagerServiceDelegateImpl();
|
| +
|
| + private:
|
| + // ViewManagerServiceDelegateImpl:
|
| + virtual void Embed(
|
| + const String& url,
|
| + InterfaceRequest<ServiceProvider> service_provider) override;
|
| + virtual void OnViewInputEvent(mojo::EventPtr event) override;
|
| +
|
| + // InterfaceImpl:
|
| + virtual void OnConnectionEstablished() override;
|
| +
|
| + WindowManagerApp* app_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ViewManagerServiceDelegateImpl);
|
| +};
|
| +
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_
|
|
|