OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_IMPL_H_ | 5 #ifndef CC_LAYER_IMPL_H_ |
6 #define CC_LAYER_IMPL_H_ | 6 #define CC_LAYER_IMPL_H_ |
7 | 7 |
8 #include <public/WebFilterOperations.h> | 8 #include <public/WebFilterOperations.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 void resetAllChangeTrackingForSubtree(); | 269 void resetAllChangeTrackingForSubtree(); |
270 | 270 |
271 virtual bool layerIsAlwaysDamaged() const; | 271 virtual bool layerIsAlwaysDamaged() const; |
272 | 272 |
273 LayerAnimationController* layerAnimationController() { return m_layerAnimati
onController.get(); } | 273 LayerAnimationController* layerAnimationController() { return m_layerAnimati
onController.get(); } |
274 | 274 |
275 virtual Region visibleContentOpaqueRegion() const; | 275 virtual Region visibleContentOpaqueRegion() const; |
276 | 276 |
277 virtual void didUpdateTransforms() { } | 277 virtual void didUpdateTransforms() { } |
278 | 278 |
279 // Indicates that the context previously used to render this layer | 279 // Indicates that the surface previously used to render this layer |
280 // was lost and that a new one has been created. Won't be called | 280 // was lost and that a new one has been created. Won't be called |
281 // until the new context has been created successfully. | 281 // until the new surface has been created successfully. |
282 virtual void didLoseContext(); | 282 virtual void didLoseOutputSurface(); |
283 | 283 |
284 ScrollbarAnimationController* scrollbarAnimationController() const { return
m_scrollbarAnimationController.get(); } | 284 ScrollbarAnimationController* scrollbarAnimationController() const { return
m_scrollbarAnimationController.get(); } |
285 | 285 |
286 void setHorizontalScrollbarLayer(ScrollbarLayerImpl*); | 286 void setHorizontalScrollbarLayer(ScrollbarLayerImpl*); |
287 ScrollbarLayerImpl* horizontalScrollbarLayer(); | 287 ScrollbarLayerImpl* horizontalScrollbarLayer(); |
288 const ScrollbarLayerImpl* horizontalScrollbarLayer() const; | 288 const ScrollbarLayerImpl* horizontalScrollbarLayer() const; |
289 | 289 |
290 void setVerticalScrollbarLayer(ScrollbarLayerImpl*); | 290 void setVerticalScrollbarLayer(ScrollbarLayerImpl*); |
291 ScrollbarLayerImpl* verticalScrollbarLayer(); | 291 ScrollbarLayerImpl* verticalScrollbarLayer(); |
292 const ScrollbarLayerImpl* verticalScrollbarLayer() const; | 292 const ScrollbarLayerImpl* verticalScrollbarLayer() const; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController; | 432 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController; |
433 | 433 |
434 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 434 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
435 }; | 435 }; |
436 | 436 |
437 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*>
::iterator end, LayerSorter*); | 437 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*>
::iterator end, LayerSorter*); |
438 | 438 |
439 } | 439 } |
440 | 440 |
441 #endif // CC_LAYER_IMPL_H_ | 441 #endif // CC_LAYER_IMPL_H_ |
OLD | NEW |