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

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

Issue 1309273005: native_viewport support for ozone (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: addressing review feedback Created 5 years, 3 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
OLDNEW
(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_HOST_IMPL_H_
6 #define UI_OZONE_PLATFORM_DRM_MOJO_DRM_HOST_IMPL_H_
7
8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h"
10 #include "mojo/services/ozone_drm_host/public/interfaces/ozone_drm_host.mojom.h"
11 #include "ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h"
12
13 namespace ui {
14
15 class MojoDrmHostImpl : public mojo::OzoneDrmHost {
16 public:
17 MojoDrmHostImpl(mojo::InterfaceRequest<mojo::OzoneDrmHost> request);
jamesr 2015/08/27 19:35:48 ditto
cdotstout 2015/08/27 21:28:33 Done.
18 ~MojoDrmHostImpl() override;
19
20 // OzoneDrmHost
21 void UpdateNativeDisplays(
22 mojo::Array<mojo::DisplaySnapshotPtr> displays) override;
23 void DisplayConfigured(int64_t id, bool result) override;
24
25 private:
26 ui::DrmGpuPlatformSupportHost* platform_support_;
27 mojo::StrongBinding<mojo::OzoneDrmHost> binding_;
28
29 DISALLOW_COPY_AND_ASSIGN(MojoDrmHostImpl);
30 };
31
32 } // namespace ui
33
34 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698