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

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

Issue 2365793002: Fix scroll chaining for non-descendants of root scroller. (Closed)
Patch Set: Rebase and remove hack Created 4 years, 2 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_impl.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_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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 int id() const { return layer_id_; } 92 int id() const { return layer_id_; }
93 93
94 // Interactions with attached animations. 94 // Interactions with attached animations.
95 gfx::ScrollOffset ScrollOffsetForAnimation() const; 95 gfx::ScrollOffset ScrollOffsetForAnimation() const;
96 void OnIsAnimatingChanged(const PropertyAnimationState& mask, 96 void OnIsAnimatingChanged(const PropertyAnimationState& mask,
97 const PropertyAnimationState& state); 97 const PropertyAnimationState& state);
98 bool IsActive() const; 98 bool IsActive() const;
99 99
100 void DistributeScroll(ScrollState* scroll_state); 100 void DistributeScroll(ScrollState* scroll_state);
101 void ApplyScroll(ScrollState* scroll_state);
102 101
103 void set_property_tree_sequence_number(int sequence_number) {} 102 void set_property_tree_sequence_number(int sequence_number) {}
104 103
105 void SetTransformTreeIndex(int index); 104 void SetTransformTreeIndex(int index);
106 int transform_tree_index() const { return transform_tree_index_; } 105 int transform_tree_index() const { return transform_tree_index_; }
107 106
108 void SetClipTreeIndex(int index); 107 void SetClipTreeIndex(int index);
109 int clip_tree_index() const { return clip_tree_index_; } 108 int clip_tree_index() const { return clip_tree_index_; }
110 109
111 void SetEffectTreeIndex(int index); 110 void SetEffectTreeIndex(int index);
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 bool scrolls_drawn_descendant_ : 1; 567 bool scrolls_drawn_descendant_ : 1;
569 bool has_will_change_transform_hint_ : 1; 568 bool has_will_change_transform_hint_ : 1;
570 bool needs_push_properties_ : 1; 569 bool needs_push_properties_ : 1;
571 570
572 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 571 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
573 }; 572 };
574 573
575 } // namespace cc 574 } // namespace cc
576 575
577 #endif // CC_LAYERS_LAYER_IMPL_H_ 576 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698