| 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 #include "cc/layer_impl.h" | 5 #include "cc/layer_impl.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "cc/debug_border_draw_quad.h" | 10 #include "cc/debug_border_draw_quad.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 , m_backgroundColor(0) | 35 , m_backgroundColor(0) |
| 36 , m_doubleSided(true) | 36 , m_doubleSided(true) |
| 37 , m_layerPropertyChanged(false) | 37 , m_layerPropertyChanged(false) |
| 38 , m_layerSurfacePropertyChanged(false) | 38 , m_layerSurfacePropertyChanged(false) |
| 39 , m_masksToBounds(false) | 39 , m_masksToBounds(false) |
| 40 , m_contentsOpaque(false) | 40 , m_contentsOpaque(false) |
| 41 , m_opacity(1.0) | 41 , m_opacity(1.0) |
| 42 , m_preserves3D(false) | 42 , m_preserves3D(false) |
| 43 , m_useParentBackfaceVisibility(false) | 43 , m_useParentBackfaceVisibility(false) |
| 44 , m_drawCheckerboardForMissingTiles(false) | 44 , m_drawCheckerboardForMissingTiles(false) |
| 45 , m_useLCDText(false) | |
| 46 , m_drawsContent(false) | 45 , m_drawsContent(false) |
| 47 , m_forceRenderSurface(false) | 46 , m_forceRenderSurface(false) |
| 48 , m_isContainerForFixedPositionLayers(false) | 47 , m_isContainerForFixedPositionLayers(false) |
| 49 , m_fixedToContainerLayer(false) | 48 , m_fixedToContainerLayer(false) |
| 50 , m_drawDepth(0) | 49 , m_drawDepth(0) |
| 51 #ifndef NDEBUG | 50 #ifndef NDEBUG |
| 52 , m_betweenWillDrawAndDidDraw(false) | 51 , m_betweenWillDrawAndDidDraw(false) |
| 53 #endif | 52 #endif |
| 54 , m_layerAnimationController(LayerAnimationController::create(this)) | 53 , m_layerAnimationController(LayerAnimationController::create(this)) |
| 55 { | 54 { |
| (...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 | 774 |
| 776 void LayerImpl::setVerticalScrollbarLayer(ScrollbarLayerImpl* scrollbarLayer) | 775 void LayerImpl::setVerticalScrollbarLayer(ScrollbarLayerImpl* scrollbarLayer) |
| 777 { | 776 { |
| 778 if (!m_scrollbarAnimationController) | 777 if (!m_scrollbarAnimationController) |
| 779 m_scrollbarAnimationController = ScrollbarAnimationController::create(th
is); | 778 m_scrollbarAnimationController = ScrollbarAnimationController::create(th
is); |
| 780 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer); | 779 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer); |
| 781 m_scrollbarAnimationController->updateScrollOffset(this); | 780 m_scrollbarAnimationController->updateScrollOffset(this); |
| 782 } | 781 } |
| 783 | 782 |
| 784 } // namespace cc | 783 } // namespace cc |
| OLD | NEW |