ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / ui / ozone / platform / dri / dri_vsync_provider.h
blob7248c52ddd97d7d241b92ac0b4fe94b8dbc9fcc9
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_DRI_VSYNC_PROVIDER_H_
6 #define UI_OZONE_PLATFORM_IMPL_DRI_VSYNC_PROVIDER_H_
8 #include "ui/gfx/vsync_provider.h"
10 namespace ui {
12 class DriWindowDelegate;
14 class DriVSyncProvider : public gfx::VSyncProvider {
15 public:
16 DriVSyncProvider(DriWindowDelegate* window_delegate);
17 ~DriVSyncProvider() override;
19 void GetVSyncParameters(const UpdateVSyncCallback& callback) override;
21 private:
22 DriWindowDelegate* window_delegate_; // Not owned.
24 DISALLOW_COPY_AND_ASSIGN(DriVSyncProvider);
27 } // namespace ui
29 #endif // UI_OZONE_PLATFORM_IMPL_DRI_VSYNC_PROVIDER_H_