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

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

Issue 2554773002: CC Animation: Rename Active Players to Ticking Players. (Closed)
Patch Set: Rename the argument. Created 4 years 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/blink/web_layer_impl.cc ('k') | 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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 void DidBeginTracing(); 433 void DidBeginTracing();
434 434
435 int num_copy_requests_in_target_subtree(); 435 int num_copy_requests_in_target_subtree();
436 436
437 void SetElementId(ElementId id); 437 void SetElementId(ElementId id);
438 ElementId element_id() const { return inputs_.element_id; } 438 ElementId element_id() const { return inputs_.element_id; }
439 439
440 void SetMutableProperties(uint32_t properties); 440 void SetMutableProperties(uint32_t properties);
441 uint32_t mutable_properties() const { return inputs_.mutable_properties; } 441 uint32_t mutable_properties() const { return inputs_.mutable_properties; }
442 442
443 bool HasActiveAnimationForTesting() const; 443 bool HasTickingAnimationForTesting() const;
444 444
445 void SetHasWillChangeTransformHint(bool has_will_change); 445 void SetHasWillChangeTransformHint(bool has_will_change);
446 bool has_will_change_transform_hint() const { 446 bool has_will_change_transform_hint() const {
447 return inputs_.has_will_change_transform_hint; 447 return inputs_.has_will_change_transform_hint;
448 } 448 }
449 449
450 // The preferred raster bounds are the ideal resolution at which to raster the 450 // The preferred raster bounds are the ideal resolution at which to raster the
451 // contents of this Layer's bitmap. This may not be the same size as the Layer 451 // contents of this Layer's bitmap. This may not be the same size as the Layer
452 // bounds, in cases where the contents have an "intrinsic" size that differs. 452 // bounds, in cases where the contents have an "intrinsic" size that differs.
453 // Consider for example an image with a given intrinsic size that is being 453 // Consider for example an image with a given intrinsic size that is being
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 // These all act like draw properties, so don't need push properties. 691 // These all act like draw properties, so don't need push properties.
692 gfx::Rect visible_layer_rect_; 692 gfx::Rect visible_layer_rect_;
693 size_t num_unclipped_descendants_; 693 size_t num_unclipped_descendants_;
694 694
695 DISALLOW_COPY_AND_ASSIGN(Layer); 695 DISALLOW_COPY_AND_ASSIGN(Layer);
696 }; 696 };
697 697
698 } // namespace cc 698 } // namespace cc
699 699
700 #endif // CC_LAYERS_LAYER_H_ 700 #endif // CC_LAYERS_LAYER_H_
OLDNEW
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698