| 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_TREE_HOST_IMPL_H_ | 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_ |
| 6 #define CC_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_LAYER_TREE_HOST_IMPL_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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 scoped_ptr<LayerTreeImpl> m_activeTree; | 313 scoped_ptr<LayerTreeImpl> m_activeTree; |
| 314 | 314 |
| 315 // In impl-side painting mode, tree with possibly incomplete rasterized | 315 // In impl-side painting mode, tree with possibly incomplete rasterized |
| 316 // content. May be promoted to active by activatePendingTreeIfNeeded(). | 316 // content. May be promoted to active by activatePendingTreeIfNeeded(). |
| 317 scoped_ptr<LayerTreeImpl> m_pendingTree; | 317 scoped_ptr<LayerTreeImpl> m_pendingTree; |
| 318 | 318 |
| 319 // In impl-side painting mode, inert tree with layers that can be recycled | 319 // In impl-side painting mode, inert tree with layers that can be recycled |
| 320 // by the next sync from the main thread. | 320 // by the next sync from the main thread. |
| 321 scoped_ptr<LayerTreeImpl> m_recycleTree; | 321 scoped_ptr<LayerTreeImpl> m_recycleTree; |
| 322 | 322 |
| 323 bool m_didLockScrollingLayer; |
| 324 bool m_shouldBubbleScrolls; |
| 323 bool m_scrollDeltaIsInViewportSpace; | 325 bool m_scrollDeltaIsInViewportSpace; |
| 324 LayerTreeSettings m_settings; | 326 LayerTreeSettings m_settings; |
| 325 LayerTreeDebugState m_debugState; | 327 LayerTreeDebugState m_debugState; |
| 326 gfx::Size m_layoutViewportSize; | 328 gfx::Size m_layoutViewportSize; |
| 327 gfx::Size m_deviceViewportSize; | 329 gfx::Size m_deviceViewportSize; |
| 328 float m_deviceScaleFactor; | 330 float m_deviceScaleFactor; |
| 329 bool m_visible; | 331 bool m_visible; |
| 330 ManagedMemoryPolicy m_managedMemoryPolicy; | 332 ManagedMemoryPolicy m_managedMemoryPolicy; |
| 331 | 333 |
| 332 bool m_pinchGestureActive; | 334 bool m_pinchGestureActive; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 357 base::TimeTicks m_currentFrameTime; | 359 base::TimeTicks m_currentFrameTime; |
| 358 | 360 |
| 359 scoped_ptr<AnimationRegistrar> m_animationRegistrar; | 361 scoped_ptr<AnimationRegistrar> m_animationRegistrar; |
| 360 | 362 |
| 361 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 363 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 362 }; | 364 }; |
| 363 | 365 |
| 364 } // namespace cc | 366 } // namespace cc |
| 365 | 367 |
| 366 #endif // CC_LAYER_TREE_HOST_IMPL_H_ | 368 #endif // CC_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |