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