| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "LayerChromium.h" | 7 #include "LayerChromium.h" |
| 8 | 8 |
| 9 #include "CCActiveAnimation.h" | 9 #include "CCActiveAnimation.h" |
| 10 #include "CCAnimationEvents.h" | 10 #include "CCAnimationEvents.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 , m_useParentBackfaceVisibility(false) | 56 , m_useParentBackfaceVisibility(false) |
| 57 , m_drawCheckerboardForMissingTiles(false) | 57 , m_drawCheckerboardForMissingTiles(false) |
| 58 , m_forceRenderSurface(false) | 58 , m_forceRenderSurface(false) |
| 59 , m_replicaLayer(0) | 59 , m_replicaLayer(0) |
| 60 , m_drawOpacity(0) | 60 , m_drawOpacity(0) |
| 61 , m_drawOpacityIsAnimating(false) | 61 , m_drawOpacityIsAnimating(false) |
| 62 , m_renderTarget(0) | 62 , m_renderTarget(0) |
| 63 , m_drawTransformIsAnimating(false) | 63 , m_drawTransformIsAnimating(false) |
| 64 , m_screenSpaceTransformIsAnimating(false) | 64 , m_screenSpaceTransformIsAnimating(false) |
| 65 , m_contentsScale(1.0) | 65 , m_contentsScale(1.0) |
| 66 , m_initialCssScale(0) |
| 66 , m_boundsContainPageScale(false) | 67 , m_boundsContainPageScale(false) |
| 67 , m_layerAnimationDelegate(0) | 68 , m_layerAnimationDelegate(0) |
| 68 , m_layerScrollClient(0) | 69 , m_layerScrollClient(0) |
| 69 { | 70 { |
| 70 if (m_layerId < 0) { | 71 if (m_layerId < 0) { |
| 71 s_nextLayerId = 1; | 72 s_nextLayerId = 1; |
| 72 m_layerId = s_nextLayerId++; | 73 m_layerId = s_nextLayerId++; |
| 73 } | 74 } |
| 74 } | 75 } |
| 75 | 76 |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 { | 789 { |
| 789 return 0; | 790 return 0; |
| 790 } | 791 } |
| 791 | 792 |
| 792 void sortLayers(std::vector<scoped_refptr<LayerChromium> >::iterator, std::vecto
r<scoped_refptr<LayerChromium> >::iterator, void*) | 793 void sortLayers(std::vector<scoped_refptr<LayerChromium> >::iterator, std::vecto
r<scoped_refptr<LayerChromium> >::iterator, void*) |
| 793 { | 794 { |
| 794 // Currently we don't use z-order to decide what to paint, so there's no nee
d to actually sort LayerChromiums. | 795 // Currently we don't use z-order to decide what to paint, so there's no nee
d to actually sort LayerChromiums. |
| 795 } | 796 } |
| 796 | 797 |
| 797 } | 798 } |
| OLD | NEW |