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

Side by Side Diff: cc/layer_tree_impl.h

Issue 12045002: Delete zoomed_viewport_offset_ and its users. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add imports for DisabledTest and rebase to 179449 Created 7 years, 10 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 | « cc/layer_tree_host_unittest.cc ('k') | cc/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_LAYER_TREE_IMPL_H_ 5 #ifndef CC_LAYER_TREE_IMPL_H_
6 #define CC_LAYER_TREE_IMPL_H_ 6 #define CC_LAYER_TREE_IMPL_H_
7 7
8 #include "base/hash_tables.h" 8 #include "base/hash_tables.h"
9 #include "cc/layer_impl.h" 9 #include "cc/layer_impl.h"
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool needs_update_draw_properties() const { 127 bool needs_update_draw_properties() const {
128 return needs_update_draw_properties_; 128 return needs_update_draw_properties_;
129 } 129 }
130 130
131 void ClearRenderSurfaces(); 131 void ClearRenderSurfaces();
132 132
133 bool AreVisibleResourcesReady() const; 133 bool AreVisibleResourcesReady() const;
134 134
135 const LayerList& RenderSurfaceLayerList() const; 135 const LayerList& RenderSurfaceLayerList() const;
136 136
137 // These return the size of the root scrollable area and the size of
138 // the user-visible scrolling viewport, in CSS layout coordinates.
137 gfx::Size ScrollableSize() const; 139 gfx::Size ScrollableSize() const;
140 gfx::SizeF ScrollableViewportSize() const;
138 141
139 LayerImpl* LayerById(int id); 142 LayerImpl* LayerById(int id);
140 143
141 // These should be called by LayerImpl's ctor/dtor. 144 // These should be called by LayerImpl's ctor/dtor.
142 void RegisterLayer(LayerImpl* layer); 145 void RegisterLayer(LayerImpl* layer);
143 void UnregisterLayer(LayerImpl* layer); 146 void UnregisterLayer(LayerImpl* layer);
144 147
145 AnimationRegistrar* animationRegistrar() const; 148 AnimationRegistrar* animationRegistrar() const;
146 149
147 void PushPersistedState(LayerTreeImpl* pendingTree); 150 void PushPersistedState(LayerTreeImpl* pendingTree);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 182
180 bool contents_textures_purged_; 183 bool contents_textures_purged_;
181 bool needs_update_draw_properties_; 184 bool needs_update_draw_properties_;
182 185
183 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 186 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
184 }; 187 };
185 188
186 } 189 }
187 190
188 #endif // CC_LAYER_TREE_IMPL_H_ 191 #endif // CC_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_unittest.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698