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 #ifndef SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ | |
6 #define SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ | |
7 | |
8 #include <stdint.h> | |
9 | |
10 namespace base { | |
11 class TimeDelta; | |
12 class TimeTicks; | |
13 } | |
14 | |
15 namespace ui { | |
16 | |
17 class SurfacesContextProviderDelegate { | |
18 public: | |
19 virtual void OnVSyncParametersUpdated(const base::TimeTicks& timebase, | |
20 const base::TimeDelta& interval) = 0; | |
21 | |
22 protected: | |
23 virtual ~SurfacesContextProviderDelegate() {} | |
24 }; | |
25 | |
26 } // namespace ui | |
27 | |
28 #endif // SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ | |
OLD | NEW |