Index: components/mus/surfaces/surfaces_context_provider_delegate.h |
diff --git a/components/mus/surfaces/surfaces_context_provider_delegate.h b/components/mus/surfaces/surfaces_context_provider_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ff27f7d7a62acd1863b7c5e4095c45676338c9de |
--- /dev/null |
+++ b/components/mus/surfaces/surfaces_context_provider_delegate.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ |
+#define COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ |
+ |
+namespace surfaces { |
+ |
+class SurfacesContextProviderDelegate { |
+ public: |
+ virtual void OnVSyncParametersUpdated(int64_t timebase, int64_t interval) = 0; |
+ |
+ protected: |
+ virtual ~SurfacesContextProviderDelegate() {} |
+}; |
+ |
+} // namespace surfaces |
+ |
+#endif // COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ |