blob: 4264d327632410f835f99b40429f1358105a7133 [file] [log] [blame]
Craig Stout4802bc72015-08-28 15:00:11 -07001// 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 Stout4802bc72015-08-28 15:00:11 -07008#include "ui/ozone/public/ipc_init_helper_ozone.h"
9
Viet-Trung Luu911b5de2016-05-31 12:19:19 -070010namespace mojo {
11class ServiceProviderImpl;
12class Shell;
13} // namespace mojo
14
Craig Stout4802bc72015-08-28 15:00:11 -070015namespace ui {
16
17class IpcInitHelperMojo : public IpcInitHelperOzone {
18 public:
Viet-Trung Luu911b5de2016-05-31 12:19:19 -070019 virtual void HostInitialize(mojo::Shell* shell) = 0;
20 virtual bool HostAcceptConnection(
Viet-Trung Luu736c8502016-05-13 16:14:49 -070021 mojo::ServiceProviderImpl* service_provider_impl) = 0;
Craig Stout4802bc72015-08-28 15:00:11 -070022
Viet-Trung Luu911b5de2016-05-31 12:19:19 -070023 virtual void GpuInitialize(mojo::Shell* shell) = 0;
24 virtual bool GpuAcceptConnection(
Viet-Trung Luu736c8502016-05-13 16:14:49 -070025 mojo::ServiceProviderImpl* service_provider_impl) = 0;
Craig Stout4802bc72015-08-28 15:00:11 -070026};
27
28} // namespace ui
29
Viet-Trung Luu911b5de2016-05-31 12:19:19 -070030#endif // UI_OZONE_PUBLIC_IPC_INIT_HELPER_MOJO_H_