Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ozone / ui / gfx / vsync_provider_wayland.h
1 // Copyright 2013 Intel Corporation. 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 OZONE_UI_GFX_VSYNC_PROVIDER_WAYLAND_H_
6 #define OZONE_UI_GFX_VSYNC_PROVIDER_WAYLAND_H_
7
8 #include "ui/gfx/vsync_provider.h"
9
10 namespace gfx {
11
12 class WaylandSyncProvider : public gfx::VSyncProvider {
13  public:
14   explicit WaylandSyncProvider();
15   virtual ~WaylandSyncProvider();
16
17   virtual void GetVSyncParameters(const UpdateVSyncCallback& callback) OVERRIDE;
18
19  private:
20   DISALLOW_COPY_AND_ASSIGN(WaylandSyncProvider);
21 };
22
23 }  // namespace gfx
24
25 #endif  // OZONE_UI_GFX_VSYNC_PROVIDER_WAYLAND_H_