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

Unified Diff: cc/test/animation_test_common.h

Issue 864003002: cc: Make LayerAnimationController keep state for clearing scroll delta (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_test_common.h
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
index 57d2e9701b2b2541f6282e37e3100e5a9b3edf1d..b2909b8711fcf82da8238fc12bafed87bd00874f 100644
--- a/cc/test/animation_test_common.h
+++ b/cc/test/animation_test_common.h
@@ -82,7 +82,6 @@ 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_; }
@@ -94,20 +93,12 @@ 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698