OLD | NEW |
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 void UpdateSolidColorScrollbars(); | 204 void UpdateSolidColorScrollbars(); |
205 | 205 |
206 // Hide existence of pinch-zoom scrollbars. | 206 // Hide existence of pinch-zoom scrollbars. |
207 void UpdatePinchZoomScrollbars(); | 207 void UpdatePinchZoomScrollbars(); |
208 void FadeInPinchZoomScrollbars(); | 208 void FadeInPinchZoomScrollbars(); |
209 void FadeOutPinchZoomScrollbars(); | 209 void FadeOutPinchZoomScrollbars(); |
210 ScrollbarLayerImpl* PinchZoomScrollbarHorizontal(); | 210 ScrollbarLayerImpl* PinchZoomScrollbarHorizontal(); |
211 ScrollbarLayerImpl* PinchZoomScrollbarVertical(); | 211 ScrollbarLayerImpl* PinchZoomScrollbarVertical(); |
212 bool HasPinchZoomScrollbars() const; | 212 bool HasPinchZoomScrollbars() const; |
213 | 213 |
| 214 void UpdateRootScrollLayerSizeDelta(); |
| 215 |
214 LayerTreeHostImpl* layer_tree_host_impl_; | 216 LayerTreeHostImpl* layer_tree_host_impl_; |
215 int source_frame_number_; | 217 int source_frame_number_; |
216 scoped_ptr<LayerImpl> root_layer_; | 218 scoped_ptr<LayerImpl> root_layer_; |
217 HeadsUpDisplayLayerImpl* hud_layer_; | 219 HeadsUpDisplayLayerImpl* hud_layer_; |
218 LayerImpl* root_scroll_layer_; | 220 LayerImpl* root_scroll_layer_; |
219 LayerImpl* currently_scrolling_layer_; | 221 LayerImpl* currently_scrolling_layer_; |
220 SkColor background_color_; | 222 SkColor background_color_; |
221 bool has_transparent_background_; | 223 bool has_transparent_background_; |
222 | 224 |
223 int pinch_zoom_scrollbar_horizontal_layer_id_; | 225 int pinch_zoom_scrollbar_horizontal_layer_id_; |
(...skipping 22 matching lines...) Expand all Loading... |
246 // In impl-side painting mode, this is true when the tree may contain | 248 // In impl-side painting mode, this is true when the tree may contain |
247 // structural differences relative to the active tree. | 249 // structural differences relative to the active tree. |
248 bool needs_full_tree_sync_; | 250 bool needs_full_tree_sync_; |
249 | 251 |
250 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 252 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
251 }; | 253 }; |
252 | 254 |
253 } // namespace cc | 255 } // namespace cc |
254 | 256 |
255 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 257 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |