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

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

Issue 18647013: Delete CC-impl-side clip layer adjustment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename to ContainerLayer Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/trees/layer_tree_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void set_source_frame_number(int frame_number) { 95 void set_source_frame_number(int frame_number) {
96 source_frame_number_ = frame_number; 96 source_frame_number_ = frame_number;
97 } 97 }
98 98
99 HeadsUpDisplayLayerImpl* hud_layer() { return hud_layer_; } 99 HeadsUpDisplayLayerImpl* hud_layer() { return hud_layer_; }
100 void set_hud_layer(HeadsUpDisplayLayerImpl* layer_impl) { 100 void set_hud_layer(HeadsUpDisplayLayerImpl* layer_impl) {
101 hud_layer_ = layer_impl; 101 hud_layer_ = layer_impl;
102 } 102 }
103 103
104 LayerImpl* RootScrollLayer() const; 104 LayerImpl* RootScrollLayer() const;
105 LayerImpl* RootClipLayer() const; 105 LayerImpl* RootContainerLayer() const;
106 LayerImpl* CurrentlyScrollingLayer() const; 106 LayerImpl* CurrentlyScrollingLayer() const;
107 void SetCurrentlyScrollingLayer(LayerImpl* layer); 107 void SetCurrentlyScrollingLayer(LayerImpl* layer);
108 void ClearCurrentlyScrollingLayer(); 108 void ClearCurrentlyScrollingLayer();
109 109
110 void FindRootScrollLayer(); 110 void FindRootScrollLayer();
111 void UpdateMaxScrollOffset(); 111 void UpdateMaxScrollOffset();
112 112
113 SkColor background_color() const { return background_color_; } 113 SkColor background_color() const { return background_color_; }
114 void set_background_color(SkColor color) { background_color_ = color; } 114 void set_background_color(SkColor color) { background_color_ = color; }
115 115
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 ui::LatencyInfo latency_info_; 240 ui::LatencyInfo latency_info_;
241 241
242 private: 242 private:
243 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 243 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
244 }; 244 };
245 245
246 } // namespace cc 246 } // namespace cc
247 247
248 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 248 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698