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

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

Issue 1752993002: cc : Delete LayerImpl::NoteLayerPropertyChangedForSubtree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 const gfx::Size& bounds, 703 const gfx::Size& bounds,
704 const SharedQuadState* shared_quad_state, 704 const SharedQuadState* shared_quad_state,
705 AppendQuadsData* append_quads_data) const; 705 AppendQuadsData* append_quads_data) const;
706 void AppendDebugBorderQuad(RenderPass* render_pass, 706 void AppendDebugBorderQuad(RenderPass* render_pass,
707 const gfx::Size& bounds, 707 const gfx::Size& bounds,
708 const SharedQuadState* shared_quad_state, 708 const SharedQuadState* shared_quad_state,
709 AppendQuadsData* append_quads_data, 709 AppendQuadsData* append_quads_data,
710 SkColor color, 710 SkColor color,
711 float width) const; 711 float width) const;
712 712
713 void NoteLayerPropertyChangedForSubtree();
714
715 // Note carefully this does not affect the current layer.
716 void NoteLayerPropertyChangedForDescendants();
717
718 gfx::Rect GetScaledEnclosingRectInTargetSpace(float scale) const; 713 gfx::Rect GetScaledEnclosingRectInTargetSpace(float scale) const;
719 714
720 private: 715 private:
721 void ValidateQuadResourcesInternal(DrawQuad* quad) const; 716 void ValidateQuadResourcesInternal(DrawQuad* quad) const;
722 717
723 void PushScrollOffset(const gfx::ScrollOffset* scroll_offset); 718 void PushScrollOffset(const gfx::ScrollOffset* scroll_offset);
724 void DidUpdateScrollOffset(); 719 void DidUpdateScrollOffset();
725 void NoteLayerPropertyChangedForDescendantsInternal(); 720 void NoteLayerPropertyChangedForDescendantsInternal();
726 void PushLayerPropertyChangedForSubtreeInternal(); 721 void PushLayerPropertyChangedForSubtreeInternal();
727 722
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 // If true, the layer or one of its descendants has a touch handler. 876 // If true, the layer or one of its descendants has a touch handler.
882 bool layer_or_descendant_has_touch_handler_; 877 bool layer_or_descendant_has_touch_handler_;
883 bool sorted_for_recursion_; 878 bool sorted_for_recursion_;
884 879
885 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 880 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
886 }; 881 };
887 882
888 } // namespace cc 883 } // namespace cc
889 884
890 #endif // CC_LAYERS_LAYER_IMPL_H_ 885 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | cc/layers/layer_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698