Craig Stout | 4802bc7 | 2015-08-28 15:00:11 -0700 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ |
| 6 | #define UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ |
| 7 | |
Craig Stout | 4802bc7 | 2015-08-28 15:00:11 -0700 | [diff] [blame] | 8 | #include "ui/ozone/public/ipc_init_helper_ozone.h" |
| 9 | |
Viet-Trung Luu | 911b5de | 2016-05-31 12:19:19 -0700 | [diff] [blame] | 10 | namespace mojo { |
| 11 | class ServiceProviderImpl; |
| 12 | class Shell; |
| 13 | } // namespace mojo |
| 14 | |
Craig Stout | 4802bc7 | 2015-08-28 15:00:11 -0700 | [diff] [blame] | 15 | namespace ui { |
| 16 | |
| 17 | class IpcInitHelperMojo : public IpcInitHelperOzone { |
| 18 | public: |
Viet-Trung Luu | 911b5de | 2016-05-31 12:19:19 -0700 | [diff] [blame] | 19 | virtual void HostInitialize(mojo::Shell* shell) = 0; |
| 20 | virtual bool HostAcceptConnection( |
Viet-Trung Luu | 736c850 | 2016-05-13 16:14:49 -0700 | [diff] [blame] | 21 | mojo::ServiceProviderImpl* service_provider_impl) = 0; |
Craig Stout | 4802bc7 | 2015-08-28 15:00:11 -0700 | [diff] [blame] | 22 | |
Viet-Trung Luu | 911b5de | 2016-05-31 12:19:19 -0700 | [diff] [blame] | 23 | virtual void GpuInitialize(mojo::Shell* shell) = 0; |
| 24 | virtual bool GpuAcceptConnection( |
Viet-Trung Luu | 736c850 | 2016-05-13 16:14:49 -0700 | [diff] [blame] | 25 | mojo::ServiceProviderImpl* service_provider_impl) = 0; |
Craig Stout | 4802bc7 | 2015-08-28 15:00:11 -0700 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | } // namespace ui |
| 29 | |
Viet-Trung Luu | 911b5de | 2016-05-31 12:19:19 -0700 | [diff] [blame] | 30 | #endif // UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_ |