| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/layers/scrollbar_layer_impl_base.h" | 5 #include "cc/layers/scrollbar_layer_impl_base.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include "cc/trees/effect_node.h" | 8 #include "cc/trees/effect_node.h" |
| 9 #include "cc/trees/layer_tree_impl.h" | 9 #include "cc/trees/layer_tree_impl.h" |
| 10 #include "cc/trees/scroll_node.h" | 10 #include "cc/trees/scroll_node.h" |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 if (node->opacity == opacity) | 258 if (node->opacity == opacity) |
| 259 return; | 259 return; |
| 260 | 260 |
| 261 node->opacity = opacity; | 261 node->opacity = opacity; |
| 262 node->effect_changed = true; | 262 node->effect_changed = true; |
| 263 property_trees->changed = true; | 263 property_trees->changed = true; |
| 264 property_trees->effect_tree.set_needs_update(true); | 264 property_trees->effect_tree.set_needs_update(true); |
| 265 layer_tree_impl()->set_needs_update_draw_properties(); | 265 layer_tree_impl()->set_needs_update_draw_properties(); |
| 266 } | 266 } |
| 267 | 267 |
| 268 LayerTreeSettings::ScrollbarAnimator |
| 269 ScrollbarLayerImplBase::GetScrollbarAnimator() const { |
| 270 return layer_tree_impl()->settings().scrollbar_animator; |
| 271 } |
| 272 |
| 268 } // namespace cc | 273 } // namespace cc |
| OLD | NEW |