Index: third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimatorClient.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimatorClient.h b/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimatorClient.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4696a55401a251a729232e959fc841cd08b54792 |
--- /dev/null |
+++ b/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimatorClient.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2016 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 ProgrammaticScrollAnimatorClient_h |
+#define ProgrammaticScrollAnimatorClient_h |
+ |
+#include "platform/heap/Handle.h" |
+ |
+namespace blink { |
+ |
+class PLATFORM_EXPORT ProgrammaticScrollAnimatorClient |
+ : public GarbageCollectedFinalized<ProgrammaticScrollAnimatorClient> { |
+ public: |
+ // Called when ProgrammaticScrollAnimator finishes an animation. |
+ virtual void notifyAnimationFinished() = 0; |
+ |
+ virtual ~ProgrammaticScrollAnimatorClient() {} |
+ |
+ DEFINE_INLINE_VIRTUAL_TRACE() {} |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // ProgrammaticScrollAnimatorClient_h |