Index: components/view_manager/surfaces/surfaces_context_provider_delegate.h |
diff --git a/components/view_manager/surfaces/surfaces_context_provider_delegate.h b/components/view_manager/surfaces/surfaces_context_provider_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bcdd048fd45bb322ab0b7721b5a3f0494fd58571 |
--- /dev/null |
+++ b/components/view_manager/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_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ |
+#define COMPONENTS_VIEW_MANAGER_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_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_ |