| 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 #include "mojo/public/cpp/application/application_connection.h" | 5 #include "mojo/public/cpp/application/application_connection.h" |
| 6 #include "mojo/public/cpp/application/interface_factory_impl.h" | 6 #include "mojo/public/cpp/application/interface_factory_impl.h" |
| 7 #include "mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom.h" | 7 #include "mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom.h" |
| 8 #include "mojo/services/ozone_drm_host/public/interfaces/ozone_drm_host.mojom.h" | 8 #include "mojo/services/ozone_drm_host/interfaces/ozone_drm_host.mojom.h" |
| 9 #include "ui/ozone/platform/drm/mojo/drm_gpu_delegate.h" | 9 #include "ui/ozone/platform/drm/mojo/drm_gpu_delegate.h" |
| 10 #include "ui/ozone/platform/drm/mojo/drm_gpu_impl.h" | 10 #include "ui/ozone/platform/drm/mojo/drm_gpu_impl.h" |
| 11 #include "ui/ozone/platform/drm/mojo/drm_host_delegate.h" | 11 #include "ui/ozone/platform/drm/mojo/drm_host_delegate.h" |
| 12 #include "ui/ozone/platform/drm/mojo/drm_host_impl.h" | 12 #include "ui/ozone/platform/drm/mojo/drm_host_impl.h" |
| 13 #include "ui/ozone/public/ipc_init_helper_mojo.h" | 13 #include "ui/ozone/public/ipc_init_helper_mojo.h" |
| 14 | 14 |
| 15 namespace ui { | 15 namespace ui { |
| 16 | 16 |
| 17 class InterfaceFactoryDrmHost | 17 class InterfaceFactoryDrmHost |
| 18 : public mojo::InterfaceFactory<mojo::OzoneDrmHost> { | 18 : public mojo::InterfaceFactory<mojo::OzoneDrmHost> { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 connection->AddService<mojo::OzoneDrmGpu>(new InterfaceFactoryDrmGpu()); | 85 connection->AddService<mojo::OzoneDrmGpu>(new InterfaceFactoryDrmGpu()); |
| 86 return true; | 86 return true; |
| 87 } | 87 } |
| 88 | 88 |
| 89 // static | 89 // static |
| 90 IpcInitHelperOzone* IpcInitHelperOzone::Create() { | 90 IpcInitHelperOzone* IpcInitHelperOzone::Create() { |
| 91 return new DrmIpcInitHelperMojo(); | 91 return new DrmIpcInitHelperMojo(); |
| 92 } | 92 } |
| 93 | 93 |
| 94 } // namespace ui | 94 } // namespace ui |
| OLD | NEW |