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

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

Issue 53303006: Only draw the overhang pattern on overhang areas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use root scroll layer's first child Created 7 years, 1 month 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.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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 void set_ui_resource_request_queue(const UIResourceRequestQueue& queue); 169 void set_ui_resource_request_queue(const UIResourceRequestQueue& queue);
170 170
171 const LayerImplList& RenderSurfaceLayerList() const; 171 const LayerImplList& RenderSurfaceLayerList() const;
172 172
173 // These return the size of the root scrollable area and the size of 173 // These return the size of the root scrollable area and the size of
174 // the user-visible scrolling viewport, in CSS layout coordinates. 174 // the user-visible scrolling viewport, in CSS layout coordinates.
175 gfx::Size ScrollableSize() const; 175 gfx::Size ScrollableSize() const;
176 gfx::SizeF ScrollableViewportSize() const; 176 gfx::SizeF ScrollableViewportSize() const;
177 177
178 gfx::Rect RootScrollLayerDeviceViewportBounds() const;
179
178 LayerImpl* LayerById(int id); 180 LayerImpl* LayerById(int id);
179 181
180 // These should be called by LayerImpl's ctor/dtor. 182 // These should be called by LayerImpl's ctor/dtor.
181 void RegisterLayer(LayerImpl* layer); 183 void RegisterLayer(LayerImpl* layer);
182 void UnregisterLayer(LayerImpl* layer); 184 void UnregisterLayer(LayerImpl* layer);
183 185
184 AnimationRegistrar* animationRegistrar() const; 186 AnimationRegistrar* animationRegistrar() const;
185 187
186 void PushPersistedState(LayerTreeImpl* pending_tree); 188 void PushPersistedState(LayerTreeImpl* pending_tree);
187 189
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 273
272 UIResourceRequestQueue ui_resource_request_queue_; 274 UIResourceRequestQueue ui_resource_request_queue_;
273 275
274 private: 276 private:
275 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 277 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
276 }; 278 };
277 279
278 } // namespace cc 280 } // namespace cc
279 281
280 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 282 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698