Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2055)

Unified Diff: cc/test/animation_test_common.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/test/animation_test_common.h
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
index b2909b8711fcf82da8238fc12bafed87bd00874f..57d2e9701b2b2541f6282e37e3100e5a9b3edf1d 100644
--- a/cc/test/animation_test_common.h
+++ b/cc/test/animation_test_common.h
@@ -82,6 +82,7 @@ class FakeLayerAnimationValueObserver : public LayerAnimationValueObserver {
void OnTransformAnimated(const gfx::Transform& transform) override;
void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset) override;
void OnAnimationWaitingForDeletion() override;
+ void OnScrollOffsetAnimationRemoved() override;
bool IsActive() const override;
const FilterOperations& filters() const { return filters_; }
@@ -93,12 +94,20 @@ class FakeLayerAnimationValueObserver : public LayerAnimationValueObserver {
return animation_waiting_for_deletion_;
}
+ bool scroll_offset_animation_removed() const {
+ return scroll_offset_animation_removed_;
+ }
+ void reset_scroll_offset_animation_removed() {
+ scroll_offset_animation_removed_ = false;
+ }
+
private:
FilterOperations filters_;
float opacity_;
gfx::Transform transform_;
gfx::ScrollOffset scroll_offset_;
bool animation_waiting_for_deletion_;
+ bool scroll_offset_animation_removed_;
};
class FakeInactiveLayerAnimationValueObserver

Powered by Google App Engine
This is Rietveld 408576698