| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ | 5 #ifndef UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ |
| 6 #define UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ | 6 #define UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ |
| 7 | 7 |
| 8 #include "mojo/public/cpp/application/application_impl.h" | |
| 9 #include "mojo/public/cpp/application/service_provider_impl.h" | |
| 10 #include "ui/ozone/public/ipc_init_helper_ozone.h" | 8 #include "ui/ozone/public/ipc_init_helper_ozone.h" |
| 11 | 9 |
| 10 namespace mojo { |
| 11 class ServiceProviderImpl; |
| 12 class Shell; |
| 13 } // namespace mojo |
| 14 |
| 12 namespace ui { | 15 namespace ui { |
| 13 | 16 |
| 14 class IpcInitHelperMojo : public IpcInitHelperOzone { | 17 class IpcInitHelperMojo : public IpcInitHelperOzone { |
| 15 public: | 18 public: |
| 16 virtual void HostInitialize(mojo::ApplicationImpl* application) = 0; | 19 virtual void HostInitialize(mojo::Shell* shell) = 0; |
| 17 virtual bool HostConfigureIncomingConnection( | 20 virtual bool HostAcceptConnection( |
| 18 mojo::ServiceProviderImpl* service_provider_impl) = 0; | 21 mojo::ServiceProviderImpl* service_provider_impl) = 0; |
| 19 | 22 |
| 20 virtual void GpuInitialize(mojo::ApplicationImpl* application) = 0; | 23 virtual void GpuInitialize(mojo::Shell* shell) = 0; |
| 21 virtual bool GpuConfigureIncomingConnection( | 24 virtual bool GpuAcceptConnection( |
| 22 mojo::ServiceProviderImpl* service_provider_impl) = 0; | 25 mojo::ServiceProviderImpl* service_provider_impl) = 0; |
| 23 }; | 26 }; |
| 24 | 27 |
| 25 } // namespace ui | 28 } // namespace ui |
| 26 | 29 |
| 27 #endif | 30 #endif // UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ |
| OLD | NEW |