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

Side by Side Diff: ui/ozone/platform/drm/mojo/drm_host_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/mojo/drm_gpu_impl.h ('k') | ui/ozone/platform/drm/mojo/drm_host_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_HOST_DELEGATE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_MOJO_DRM_HOST_DELEGATE_H_
6 #define UI_OZONE_PLATFORM_DRM_MOJO_DRM_HOST_DELEGATE_H_ 6 #define UI_OZONE_PLATFORM_DRM_MOJO_DRM_HOST_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom.h" 9 #include "mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom.h"
10 #include "ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h" 10 #include "ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 class MojoDrmHostDelegate : public ui::DrmGpuPlatformSupportHostDelegate { 14 class MojoDrmHostDelegate : public ui::DrmGpuPlatformSupportHostDelegate {
15 public: 15 public:
16 explicit MojoDrmHostDelegate(mojo::OzoneDrmGpu* ozone_drm_gpu); 16 explicit MojoDrmHostDelegate(mojo::OzoneDrmGpu* ozone_drm_gpu);
17 ~MojoDrmHostDelegate() override; 17 ~MojoDrmHostDelegate() override;
18 18
19 private: 19 private:
20 // DrmGpuPlatformSupportHostDelegate. 20 // DrmGpuPlatformSupportHostDelegate.
21 void CreateWindow(const gfx::AcceleratedWidget& widget) override; 21 void CreateWindow(const gfx::AcceleratedWidget& widget) override;
22 void WindowBoundsChanged(const gfx::AcceleratedWidget& widget, 22 void WindowBoundsChanged(const gfx::AcceleratedWidget& widget,
23 const gfx::Rect& bounds) override; 23 const gfx::Rect& bounds) override;
24 void AddGraphicsDevice(const base::FilePath& path, 24 void AddGraphicsDevice(const base::FilePath& path,
25 const base::FileDescriptor& fd) override; 25 const base::FileDescriptor& fd) override;
26 bool RefreshNativeDisplays() override; 26 bool RefreshNativeDisplays() override;
27 bool ConfigureNativeDisplay(int64_t id, 27 bool ConfigureNativeDisplay(int64_t id,
28 const ui::DisplayMode_Params& mode, 28 const ui::DisplayMode_Params& mode,
29 const gfx::Point& originhost) override; 29 const gfx::Point& originhost) override;
30 30
31 mojo::OzoneDrmGpu* ozone_drm_gpu_; 31 mojo::OzoneDrmGpu* ozone_drm_gpu_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(MojoDrmHostDelegate); 33 DISALLOW_COPY_AND_ASSIGN(MojoDrmHostDelegate);
34 }; 34 };
35 35
36 } // namespace ui 36 } // namespace ui
37 37
38 #endif 38 #endif
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/mojo/drm_gpu_impl.h ('k') | ui/ozone/platform/drm/mojo/drm_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698