| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_ |
| 6 #define MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "mojo/services/public/interfaces/view_manager/view_manager_service_dele
gate.mojom.h" |
| 10 |
| 11 namespace mojo { |
| 12 |
| 13 class WindowManagerApp; |
| 14 |
| 15 class ViewManagerServiceDelegateImpl |
| 16 : public InterfaceImpl<ViewManagerServiceDelegate> { |
| 17 public: |
| 18 explicit ViewManagerServiceDelegateImpl(WindowManagerApp* app); |
| 19 virtual ~ViewManagerServiceDelegateImpl(); |
| 20 |
| 21 private: |
| 22 // ViewManagerServiceDelegateImpl: |
| 23 virtual void Embed( |
| 24 const String& url, |
| 25 InterfaceRequest<ServiceProvider> service_provider) override; |
| 26 virtual void OnViewInputEvent(mojo::EventPtr event) override; |
| 27 |
| 28 // InterfaceImpl: |
| 29 virtual void OnConnectionEstablished() override; |
| 30 |
| 31 WindowManagerApp* app_; |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(ViewManagerServiceDelegateImpl); |
| 34 }; |
| 35 |
| 36 } // namespace mojo |
| 37 |
| 38 #endif // MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_ |
| OLD | NEW |