| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "gpu/ipc/service/gpu_vsync_provider.h" | 5 #include "gpu/ipc/service/gpu_vsync_provider.h" |
| 6 | 6 |
| 7 namespace gpu { | 7 namespace gpu { |
| 8 | 8 |
| 9 /* static */ | 9 /* static */ |
| 10 std::unique_ptr<GpuVSyncProvider> GpuVSyncProvider::Create( | 10 std::unique_ptr<GpuVSyncProvider> GpuVSyncProvider::Create( |
| 11 const VSyncCallback& callback, | 11 const VSyncCallback& callback, |
| 12 SurfaceHandle surface_handle) { | 12 SurfaceHandle surface_handle) { |
| 13 return std::unique_ptr<GpuVSyncProvider>(); | 13 return std::unique_ptr<GpuVSyncProvider>(); |
| 14 } | 14 } |
| 15 | 15 |
| 16 GpuVSyncProvider::~GpuVSyncProvider() = default; | 16 GpuVSyncProvider::~GpuVSyncProvider() = default; |
| 17 | 17 |
| 18 void GpuVSyncProvider::EnableVSync(bool enabled) { | 18 void GpuVSyncProvider::SetNeedsVSync(bool needs_vsync) { |
| 19 NOTREACHED(); | 19 NOTREACHED(); |
| 20 } | 20 } |
| 21 | 21 |
| 22 } // namespace gpu | 22 } // namespace gpu |
| OLD | NEW |