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

Side by Side Diff: cc/trees/layer_tree.h

Issue 2641023002: cc: Remove ReflectedMainFrameState. (Closed)
Patch Set: Created 3 years, 11 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/trees/layer_tree.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_TREES_LAYER_TREE_H_ 5 #ifndef CC_TREES_LAYER_TREE_H_
6 #define CC_TREES_LAYER_TREE_H_ 6 #define CC_TREES_LAYER_TREE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <unordered_map> 9 #include <unordered_map>
10 #include <unordered_set> 10 #include <unordered_set>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; } 160 gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; }
161 161
162 void UpdateHudLayer(bool show_hud_info); 162 void UpdateHudLayer(bool show_hud_info);
163 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } 163 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
164 164
165 virtual void SetNeedsFullTreeSync(); 165 virtual void SetNeedsFullTreeSync();
166 bool needs_full_tree_sync() const { return needs_full_tree_sync_; } 166 bool needs_full_tree_sync() const { return needs_full_tree_sync_; }
167 167
168 void SetPropertyTreesNeedRebuild(); 168 void SetPropertyTreesNeedRebuild();
169 169
170 void PushPropertiesTo(LayerTreeImpl* tree_impl, 170 void PushPropertiesTo(LayerTreeImpl* tree_impl);
171 float unapplied_page_scale_delta);
172 171
173 MutatorHost* mutator_host() const { return mutator_host_; } 172 MutatorHost* mutator_host() const { return mutator_host_; }
174 173
175 Layer* LayerByElementId(ElementId element_id) const; 174 Layer* LayerByElementId(ElementId element_id) const;
176 void RegisterElement(ElementId element_id, 175 void RegisterElement(ElementId element_id,
177 ElementListType list_type, 176 ElementListType list_type,
178 Layer* layer); 177 Layer* layer);
179 void UnregisterElement(ElementId element_id, 178 void UnregisterElement(ElementId element_id,
180 ElementListType list_type, 179 ElementListType list_type,
181 Layer* layer); 180 Layer* layer);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 281
283 MutatorHost* mutator_host_; 282 MutatorHost* mutator_host_;
284 LayerTreeHost* layer_tree_host_; 283 LayerTreeHost* layer_tree_host_;
285 284
286 DISALLOW_COPY_AND_ASSIGN(LayerTree); 285 DISALLOW_COPY_AND_ASSIGN(LayerTree);
287 }; 286 };
288 287
289 } // namespace cc 288 } // namespace cc
290 289
291 #endif // CC_TREES_LAYER_TREE_H_ 290 #endif // CC_TREES_LAYER_TREE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698