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_PLATFORM_DRM_MOJO_DRM_GPU_DELEGATE_H_ | |
6 #define UI_OZONE_PLATFORM_DRM_MOJO_DRM_GPU_DELEGATE_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "mojo/services/ozone_drm_host/public/interfaces/ozone_drm_host.mojom.h" | |
10 #include "ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h" | |
11 | |
12 namespace ui { | |
13 | |
14 class MojoDrmGpuDelegate : public ui::DrmGpuPlatformSupportDelegate { | |
15 public: | |
16 MojoDrmGpuDelegate(mojo::OzoneDrmHost* ozone_drm_host); | |
jamesr
2015/08/27 19:35:47
explicit
cdotstout
2015/08/27 21:28:33
Done.
| |
17 ~MojoDrmGpuDelegate() override; | |
18 | |
19 // DrmGpuPlatformSupportDelegate | |
jamesr
2015/08/27 19:35:47
this could be in the private: section
cdotstout
2015/08/27 21:28:33
Done.
| |
20 void UpdateNativeDisplays( | |
21 const std::vector<ui::DisplaySnapshot_Params>& displays) override; | |
22 void DisplayConfigured(int64_t id, bool result) override; | |
23 | |
24 private: | |
25 mojo::OzoneDrmHost* ozone_drm_host_; | |
26 | |
27 DISALLOW_COPY_AND_ASSIGN(MojoDrmGpuDelegate); | |
28 }; | |
29 | |
30 } // namespace ui | |
31 | |
32 #endif | |
OLD | NEW |