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

Side by Side Diff: cc/layers/layer.h

Issue 2875133003: Remove Layer{Impl}::FilterIsAnimating. (Closed)
Patch Set: Sync to head. Created 3 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 | « no previous file | cc/layers/layer.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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_LAYERS_LAYER_H_ 5 #ifndef CC_LAYERS_LAYER_H_
6 #define CC_LAYERS_LAYER_H_ 6 #define CC_LAYERS_LAYER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 friend class LayerTreeHostCommon; 465 friend class LayerTreeHostCommon;
466 friend class LayerTreeHost; 466 friend class LayerTreeHost;
467 467
468 // Interactions with attached animations. 468 // Interactions with attached animations.
469 gfx::ScrollOffset ScrollOffsetForAnimation() const; 469 gfx::ScrollOffset ScrollOffsetForAnimation() const;
470 void OnFilterAnimated(const FilterOperations& filters); 470 void OnFilterAnimated(const FilterOperations& filters);
471 void OnOpacityAnimated(float opacity); 471 void OnOpacityAnimated(float opacity);
472 void OnTransformAnimated(const gfx::Transform& transform); 472 void OnTransformAnimated(const gfx::Transform& transform);
473 void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset); 473 void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset);
474 474
475 bool FilterIsAnimating() const;
476 bool TransformIsAnimating() const; 475 bool TransformIsAnimating() const;
477 bool ScrollOffsetAnimationWasInterrupted() const; 476 bool ScrollOffsetAnimationWasInterrupted() const;
478 477
479 void AddScrollChild(Layer* child); 478 void AddScrollChild(Layer* child);
480 void RemoveScrollChild(Layer* child); 479 void RemoveScrollChild(Layer* child);
481 480
482 void AddClipChild(Layer* child); 481 void AddClipChild(Layer* child);
483 void RemoveClipChild(Layer* child); 482 void RemoveClipChild(Layer* child);
484 483
485 void SetParent(Layer* layer); 484 void SetParent(Layer* layer);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 // These all act like draw properties, so don't need push properties. 627 // These all act like draw properties, so don't need push properties.
629 gfx::Rect visible_layer_rect_; 628 gfx::Rect visible_layer_rect_;
630 size_t num_unclipped_descendants_; 629 size_t num_unclipped_descendants_;
631 630
632 DISALLOW_COPY_AND_ASSIGN(Layer); 631 DISALLOW_COPY_AND_ASSIGN(Layer);
633 }; 632 };
634 633
635 } // namespace cc 634 } // namespace cc
636 635
637 #endif // CC_LAYERS_LAYER_H_ 636 #endif // CC_LAYERS_LAYER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698