1 // Copyright 2014 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.
5 #ifndef UI_OZONE_PLATFORM_IMPL_DRM_VSYNC_PROVIDER_H_
6 #define UI_OZONE_PLATFORM_IMPL_DRM_VSYNC_PROVIDER_H_
8 #include "ui/gfx/vsync_provider.h"
14 class DrmVSyncProvider
: public gfx::VSyncProvider
{
16 DrmVSyncProvider(DrmWindow
* window
);
17 ~DrmVSyncProvider() override
;
19 void GetVSyncParameters(const UpdateVSyncCallback
& callback
) override
;
22 DrmWindow
* window_
; // Not owned.
24 DISALLOW_COPY_AND_ASSIGN(DrmVSyncProvider
);
29 #endif // UI_OZONE_PLATFORM_IMPL_DRM_VSYNC_PROVIDER_H_