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

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

Issue 476113004: Replace overdraw_bottom_height with top_controls_layout_height. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ScrollViewportRounding test Created 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | 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 <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // This function may return NULL, it is the caller's responsibility to check. 136 // This function may return NULL, it is the caller's responsibility to check.
137 LayerImpl* OuterViewportScrollLayer() const; 137 LayerImpl* OuterViewportScrollLayer() const;
138 gfx::Vector2dF TotalScrollOffset() const; 138 gfx::Vector2dF TotalScrollOffset() const;
139 gfx::Vector2dF TotalMaxScrollOffset() const; 139 gfx::Vector2dF TotalMaxScrollOffset() const;
140 gfx::Vector2dF TotalScrollDelta() const; 140 gfx::Vector2dF TotalScrollDelta() const;
141 141
142 LayerImpl* InnerViewportContainerLayer() const; 142 LayerImpl* InnerViewportContainerLayer() const;
143 LayerImpl* CurrentlyScrollingLayer() const; 143 LayerImpl* CurrentlyScrollingLayer() const;
144 void SetCurrentlyScrollingLayer(LayerImpl* layer); 144 void SetCurrentlyScrollingLayer(LayerImpl* layer);
145 void ClearCurrentlyScrollingLayer(); 145 void ClearCurrentlyScrollingLayer();
146 float VerticalAdjust(const int clip_layer_id) const;
147 146
148 void SetViewportLayersFromIds(int page_scale_layer_id, 147 void SetViewportLayersFromIds(int page_scale_layer_id,
149 int inner_viewport_scroll_layer_id, 148 int inner_viewport_scroll_layer_id,
150 int outer_viewport_scroll_layer_id); 149 int outer_viewport_scroll_layer_id);
151 void ClearViewportLayers(); 150 void ClearViewportLayers();
152 LayerImpl* page_scale_layer() { return page_scale_layer_; } 151 LayerImpl* page_scale_layer() { return page_scale_layer_; }
153 void ApplySentScrollAndScaleDeltasFromAbortedCommit(); 152 void ApplySentScrollAndScaleDeltasFromAbortedCommit();
154 void ApplyScrollDeltasSinceBeginMainFrame(); 153 void ApplyScrollDeltasSinceBeginMainFrame();
155 154
156 SkColor background_color() const { return background_color_; } 155 SkColor background_color() const { return background_color_; }
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 351
353 int render_surface_layer_list_id_; 352 int render_surface_layer_list_id_;
354 353
355 private: 354 private:
356 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 355 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
357 }; 356 };
358 357
359 } // namespace cc 358 } // namespace cc
360 359
361 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 360 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698