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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 1987123002: cc : Track transform animation changes on transform tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « cc/test/animation_timelines_test_common.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 void SetElementOpacityMutated(ElementId element_id, 366 void SetElementOpacityMutated(ElementId element_id,
367 ElementListType list_type, 367 ElementListType list_type,
368 float opacity) override; 368 float opacity) override;
369 void SetElementTransformMutated(ElementId element_id, 369 void SetElementTransformMutated(ElementId element_id,
370 ElementListType list_type, 370 ElementListType list_type,
371 const gfx::Transform& transform) override; 371 const gfx::Transform& transform) override;
372 void SetElementScrollOffsetMutated( 372 void SetElementScrollOffsetMutated(
373 ElementId element_id, 373 ElementId element_id,
374 ElementListType list_type, 374 ElementListType list_type,
375 const gfx::ScrollOffset& scroll_offset) override; 375 const gfx::ScrollOffset& scroll_offset) override;
376 void ElementTransformIsPotentiallyAnimatingChanged( 376 void ElementTransformIsAnimatingChanged(ElementId element_id,
377 ElementId element_id, 377 ElementListType list_type,
378 ElementListType list_type, 378 AnimationChangeType change_type,
379 bool is_animating) override; 379 bool is_animating) override;
380 void ElementOpacityIsAnimatingChanged(ElementId element_id, 380 void ElementOpacityIsAnimatingChanged(ElementId element_id,
381 ElementListType list_type, 381 ElementListType list_type,
382 AnimationChangeType change_type, 382 AnimationChangeType change_type,
383 bool is_animating) override; 383 bool is_animating) override;
384 void ScrollOffsetAnimationFinished() override {} 384 void ScrollOffsetAnimationFinished() override {}
385 gfx::ScrollOffset GetScrollOffsetForAnimation( 385 gfx::ScrollOffset GetScrollOffsetForAnimation(
386 ElementId element_id) const override; 386 ElementId element_id) const override;
387 387
388 bool ScrollOffsetAnimationWasInterrupted(const Layer* layer) const; 388 bool ScrollOffsetAnimationWasInterrupted(const Layer* layer) const;
389 bool IsAnimatingFilterProperty(const Layer* layer) const; 389 bool IsAnimatingFilterProperty(const Layer* layer) const;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 592
593 uint32_t surface_id_namespace_; 593 uint32_t surface_id_namespace_;
594 uint32_t next_surface_sequence_; 594 uint32_t next_surface_sequence_;
595 595
596 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 596 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
597 }; 597 };
598 598
599 } // namespace cc 599 } // namespace cc
600 600
601 #endif // CC_TREES_LAYER_TREE_HOST_H_ 601 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/animation_timelines_test_common.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698