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