 Chromium Code Reviews
 Chromium Code Reviews Issue 1309273005:
  native_viewport support for ozone  (Closed) 
  Base URL: https://github.com/domokit/mojo.git@master
    
  
    Issue 1309273005:
  native_viewport support for ozone  (Closed) 
  Base URL: https://github.com/domokit/mojo.git@master| 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_HOST_DELEGATE_H_ | |
| 6 #define UI_OZONE_PLATFORM_DRM_MOJO_DRM_HOST_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "mojo/services/ozone_drm_gpu/public/interfaces/ozone_drm_gpu.mojom.h" | |
| 10 #include "ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h" | |
| 11 | |
| 12 namespace ui { | |
| 13 | |
| 14 class MojoDrmHostDelegate : public ui::DrmGpuPlatformSupportHostDelegate { | |
| 15 public: | |
| 16 MojoDrmHostDelegate(mojo::OzoneDrmGpu* ozone_drm_gpu); | |
| 
jamesr
2015/08/27 19:35:47
explicit, private below
 
cdotstout
2015/08/27 21:28:33
Done.
 | |
| 17 ~MojoDrmHostDelegate() override; | |
| 18 | |
| 19 // DrmGpuPlatformSupportHostDelegate. | |
| 20 void CreateWindow(const gfx::AcceleratedWidget& widget) override; | |
| 21 void WindowBoundsChanged(const gfx::AcceleratedWidget& widget, | |
| 22 const gfx::Rect& bounds) override; | |
| 23 void AddGraphicsDevice(const base::FilePath& path, | |
| 24 const base::FileDescriptor& fd) override; | |
| 25 bool RefreshNativeDisplays() override; | |
| 26 bool ConfigureNativeDisplay(int64_t id, | |
| 27 const ui::DisplayMode_Params& mode, | |
| 28 const gfx::Point& originhost) override; | |
| 29 | |
| 30 private: | |
| 31 mojo::OzoneDrmGpu* ozone_drm_gpu_; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(MojoDrmHostDelegate); | |
| 34 }; | |
| 35 | |
| 36 } // namespace ui | |
| 37 | |
| 38 #endif | |
| OLD | NEW |