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

Side by Side Diff: cc/layer_tree_impl.h

Issue 11958004: Make new-style page scale work on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 177887 Created 7 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 | « cc/layer_tree_host_impl_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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 // Updates draw properties and render surface layer list 115 // Updates draw properties and render surface layer list
116 void UpdateDrawProperties(); 116 void UpdateDrawProperties();
117 117
118 void ClearRenderSurfaces(); 118 void ClearRenderSurfaces();
119 119
120 bool AreVisibleResourcesReady() const; 120 bool AreVisibleResourcesReady() const;
121 121
122 const LayerList& RenderSurfaceLayerList() const; 122 const LayerList& RenderSurfaceLayerList() const;
123 123
124 gfx::Size ContentSize() const; 124 gfx::Size ScrollableSize() const;
125 125
126 LayerImpl* LayerById(int id); 126 LayerImpl* LayerById(int id);
127 127
128 // These should be called by LayerImpl's ctor/dtor. 128 // These should be called by LayerImpl's ctor/dtor.
129 void RegisterLayer(LayerImpl* layer); 129 void RegisterLayer(LayerImpl* layer);
130 void UnregisterLayer(LayerImpl* layer); 130 void UnregisterLayer(LayerImpl* layer);
131 131
132 AnimationRegistrar* animationRegistrar() const; 132 AnimationRegistrar* animationRegistrar() const;
133 133
134 void PushPersistedState(LayerTreeImpl* pendingTree); 134 void PushPersistedState(LayerTreeImpl* pendingTree);
(...skipping 27 matching lines...) Expand all
162 LayerList render_surface_layer_list_; 162 LayerList render_surface_layer_list_;
163 163
164 bool contents_textures_purged_; 164 bool contents_textures_purged_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 166 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
167 }; 167 };
168 168
169 } 169 }
170 170
171 #endif // CC_LAYER_TREE_IMPL_H_ 171 #endif // CC_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698