| 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_connection.h" | |
| 9 #include "mojo/public/cpp/application/application_impl.h" | 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" | 10 #include "ui/ozone/public/ipc_init_helper_ozone.h" |
| 11 | 11 |
| 12 namespace ui { | 12 namespace ui { |
| 13 | 13 |
| 14 class IpcInitHelperMojo : public IpcInitHelperOzone { | 14 class IpcInitHelperMojo : public IpcInitHelperOzone { |
| 15 public: | 15 public: |
| 16 virtual void HostInitialize(mojo::ApplicationImpl* application) = 0; | 16 virtual void HostInitialize(mojo::ApplicationImpl* application) = 0; |
| 17 virtual bool HostConfigureIncomingConnection( | 17 virtual bool HostConfigureIncomingConnection( |
| 18 mojo::ServiceProviderImpl* service_provider_impl) = 0; | 18 mojo::ServiceProviderImpl* service_provider_impl) = 0; |
| 19 | 19 |
| 20 virtual void GpuInitialize(mojo::ApplicationImpl* application) = 0; | 20 virtual void GpuInitialize(mojo::ApplicationImpl* application) = 0; |
| 21 virtual bool GpuConfigureIncomingConnection( | 21 virtual bool GpuConfigureIncomingConnection( |
| 22 mojo::ServiceProviderImpl* service_provider_impl) = 0; | 22 mojo::ServiceProviderImpl* service_provider_impl) = 0; |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace ui | 25 } // namespace ui |
| 26 | 26 |
| 27 #endif | 27 #endif |
| OLD | NEW |