Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1222)

Side by Side Diff: ui/ozone/platform/drm/mojo/drm_gpu_delegate.h

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/ozone/platform/drm/BUILD.gn ('k') | ui/ozone/platform/drm/mojo/drm_gpu_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef UI_OZONE_PLATFORM_DRM_MOJO_DRM_GPU_DELEGATE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_MOJO_DRM_GPU_DELEGATE_H_
6 #define UI_OZONE_PLATFORM_DRM_MOJO_DRM_GPU_DELEGATE_H_ 6 #define UI_OZONE_PLATFORM_DRM_MOJO_DRM_GPU_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/services/ozone_drm_host/public/interfaces/ozone_drm_host.mojom.h" 9 #include "mojo/services/ozone_drm_host/interfaces/ozone_drm_host.mojom.h"
10 #include "ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h" 10 #include "ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 class MojoDrmGpuDelegate : public ui::DrmGpuPlatformSupportDelegate { 14 class MojoDrmGpuDelegate : public ui::DrmGpuPlatformSupportDelegate {
15 public: 15 public:
16 explicit MojoDrmGpuDelegate(mojo::OzoneDrmHost* ozone_drm_host); 16 explicit MojoDrmGpuDelegate(mojo::OzoneDrmHost* ozone_drm_host);
17 ~MojoDrmGpuDelegate() override; 17 ~MojoDrmGpuDelegate() override;
18 18
19 private: 19 private:
20 // DrmGpuPlatformSupportDelegate 20 // DrmGpuPlatformSupportDelegate
21 void UpdateNativeDisplays( 21 void UpdateNativeDisplays(
22 const std::vector<ui::DisplaySnapshot_Params>& displays) override; 22 const std::vector<ui::DisplaySnapshot_Params>& displays) override;
23 void DisplayConfigured(int64_t id, bool result) override; 23 void DisplayConfigured(int64_t id, bool result) override;
24 24
25 mojo::OzoneDrmHost* ozone_drm_host_; 25 mojo::OzoneDrmHost* ozone_drm_host_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(MojoDrmGpuDelegate); 27 DISALLOW_COPY_AND_ASSIGN(MojoDrmGpuDelegate);
28 }; 28 };
29 29
30 } // namespace ui 30 } // namespace ui
31 31
32 #endif 32 #endif
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/BUILD.gn ('k') | ui/ozone/platform/drm/mojo/drm_gpu_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698