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 CCLayerTreeHostImpl_h | 5 #ifndef CCLayerTreeHostImpl_h |
6 #define CCLayerTreeHostImpl_h | 6 #define CCLayerTreeHostImpl_h |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 void sendDidLoseContextRecursive(CCLayerImpl*); | 299 void sendDidLoseContextRecursive(CCLayerImpl*); |
300 void clearRenderSurfaces(); | 300 void clearRenderSurfaces(); |
301 bool ensureRenderSurfaceLayerList(); | 301 bool ensureRenderSurfaceLayerList(); |
302 void clearCurrentlyScrollingLayer(); | 302 void clearCurrentlyScrollingLayer(); |
303 | 303 |
304 void animateScrollbarsRecursive(CCLayerImpl*, double monotonicTime); | 304 void animateScrollbarsRecursive(CCLayerImpl*, double monotonicTime); |
305 | 305 |
306 void dumpRenderSurfaces(std::string*, int indent, const CCLayerImpl*) const; | 306 void dumpRenderSurfaces(std::string*, int indent, const CCLayerImpl*) const; |
307 | 307 |
308 scoped_ptr<CCGraphicsContext> m_context; | 308 scoped_ptr<CCGraphicsContext> m_context; |
309 OwnPtr<CCResourceProvider> m_resourceProvider; | 309 scoped_ptr<CCResourceProvider> m_resourceProvider; |
310 scoped_ptr<CCRenderer> m_renderer; | 310 scoped_ptr<CCRenderer> m_renderer; |
311 scoped_ptr<CCLayerImpl> m_rootLayerImpl; | 311 scoped_ptr<CCLayerImpl> m_rootLayerImpl; |
312 CCLayerImpl* m_rootScrollLayerImpl; | 312 CCLayerImpl* m_rootScrollLayerImpl; |
313 CCLayerImpl* m_currentlyScrollingLayerImpl; | 313 CCLayerImpl* m_currentlyScrollingLayerImpl; |
314 CCHeadsUpDisplayLayerImpl* m_hudLayerImpl; | 314 CCHeadsUpDisplayLayerImpl* m_hudLayerImpl; |
315 int m_scrollingLayerIdFromPreviousTree; | 315 int m_scrollingLayerIdFromPreviousTree; |
316 bool m_scrollDeltaIsInScreenSpace; | 316 bool m_scrollDeltaIsInScreenSpace; |
317 CCLayerTreeSettings m_settings; | 317 CCLayerTreeSettings m_settings; |
318 IntSize m_layoutViewportSize; | 318 IntSize m_layoutViewportSize; |
319 IntSize m_deviceViewportSize; | 319 IntSize m_deviceViewportSize; |
(...skipping 28 matching lines...) Expand all Loading... |
348 | 348 |
349 size_t m_numImplThreadScrolls; | 349 size_t m_numImplThreadScrolls; |
350 size_t m_numMainThreadScrolls; | 350 size_t m_numMainThreadScrolls; |
351 | 351 |
352 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); | 352 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); |
353 }; | 353 }; |
354 | 354 |
355 } // namespace cc | 355 } // namespace cc |
356 | 356 |
357 #endif | 357 #endif |
OLD | NEW |