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

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

Issue 2216203002: Refactor MutatorHostClient from LayerTreeHost to LayerTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on another LTH refactor CL. Created 4 years, 4 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/debug/unittest_only_benchmark.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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 547
548 // When true, the layer is about to perform an update. Any commit requests 548 // When true, the layer is about to perform an update. Any commit requests
549 // will be handled implicitly after the update completes. 549 // will be handled implicitly after the update completes.
550 bool ignore_set_needs_commit_; 550 bool ignore_set_needs_commit_;
551 551
552 private: 552 private:
553 friend class base::RefCounted<Layer>; 553 friend class base::RefCounted<Layer>;
554 friend class LayerSerializationTest; 554 friend class LayerSerializationTest;
555 friend class LayerTreeHostCommon; 555 friend class LayerTreeHostCommon;
556 friend class LayerTreeHost; 556 friend class LayerTreeHost;
557 friend class LayerTree;
557 friend class LayerInternalsForTest; 558 friend class LayerInternalsForTest;
558 559
559 // Interactions with attached animations. 560 // Interactions with attached animations.
560 gfx::ScrollOffset ScrollOffsetForAnimation() const; 561 gfx::ScrollOffset ScrollOffsetForAnimation() const;
561 void OnFilterAnimated(const FilterOperations& filters); 562 void OnFilterAnimated(const FilterOperations& filters);
562 void OnOpacityAnimated(float opacity); 563 void OnOpacityAnimated(float opacity);
563 void OnTransformAnimated(const gfx::Transform& transform); 564 void OnTransformAnimated(const gfx::Transform& transform);
564 void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset); 565 void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset);
565 void OnTransformIsCurrentlyAnimatingChanged(bool is_animating); 566 void OnTransformIsCurrentlyAnimatingChanged(bool is_animating);
566 void OnTransformIsPotentiallyAnimatingChanged(bool is_animating); 567 void OnTransformIsPotentiallyAnimatingChanged(bool is_animating);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 // These all act like draw properties, so don't need push properties. 726 // These all act like draw properties, so don't need push properties.
726 gfx::Rect visible_layer_rect_; 727 gfx::Rect visible_layer_rect_;
727 size_t num_unclipped_descendants_; 728 size_t num_unclipped_descendants_;
728 729
729 DISALLOW_COPY_AND_ASSIGN(Layer); 730 DISALLOW_COPY_AND_ASSIGN(Layer);
730 }; 731 };
731 732
732 } // namespace cc 733 } // namespace cc
733 734
734 #endif // CC_LAYERS_LAYER_H_ 735 #endif // CC_LAYERS_LAYER_H_
OLDNEW
« no previous file with comments | « cc/debug/unittest_only_benchmark.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698