Chromium Code Reviews| 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 [DartPackage="mojo_services"] | |
| 6 module vsync; | |
| 7 | |
| 8 interface VSyncProvider { | |
| 9 // Waits for the next vsync and returns its timestamp once it happens. The | |
| 10 // timestamps can only be compared with other calls of this method. | |
| 11 // Only one callback can be parked at a given time. | |
| 12 AwaitVSync() => (int64 time_stamp); | |
| 13 }; | |
| OLD | NEW |