| 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/trees/layer_tree_host.h" | 5 #include "cc/trees/layer_tree_host.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "base/trace_event/trace_event_argument.h" | 31 #include "base/trace_event/trace_event_argument.h" |
| 32 #include "cc/base/devtools_instrumentation.h" | 32 #include "cc/base/devtools_instrumentation.h" |
| 33 #include "cc/base/histograms.h" | 33 #include "cc/base/histograms.h" |
| 34 #include "cc/base/math_util.h" | 34 #include "cc/base/math_util.h" |
| 35 #include "cc/debug/rendering_stats_instrumentation.h" | 35 #include "cc/debug/rendering_stats_instrumentation.h" |
| 36 #include "cc/input/layer_selection_bound.h" | 36 #include "cc/input/layer_selection_bound.h" |
| 37 #include "cc/input/page_scale_animation.h" | 37 #include "cc/input/page_scale_animation.h" |
| 38 #include "cc/layers/heads_up_display_layer.h" | 38 #include "cc/layers/heads_up_display_layer.h" |
| 39 #include "cc/layers/heads_up_display_layer_impl.h" | 39 #include "cc/layers/heads_up_display_layer_impl.h" |
| 40 #include "cc/layers/layer.h" | 40 #include "cc/layers/layer.h" |
| 41 #include "cc/layers/layer_iterator.h" | |
| 42 #include "cc/layers/painted_scrollbar_layer.h" | 41 #include "cc/layers/painted_scrollbar_layer.h" |
| 43 #include "cc/resources/ui_resource_manager.h" | 42 #include "cc/resources/ui_resource_manager.h" |
| 44 #include "cc/tiles/frame_viewer_instrumentation.h" | 43 #include "cc/tiles/frame_viewer_instrumentation.h" |
| 45 #include "cc/trees/draw_property_utils.h" | 44 #include "cc/trees/draw_property_utils.h" |
| 46 #include "cc/trees/effect_node.h" | 45 #include "cc/trees/effect_node.h" |
| 47 #include "cc/trees/layer_tree_host_client.h" | 46 #include "cc/trees/layer_tree_host_client.h" |
| 48 #include "cc/trees/layer_tree_host_common.h" | 47 #include "cc/trees/layer_tree_host_common.h" |
| 49 #include "cc/trees/layer_tree_host_impl.h" | 48 #include "cc/trees/layer_tree_host_impl.h" |
| 50 #include "cc/trees/layer_tree_impl.h" | 49 #include "cc/trees/layer_tree_impl.h" |
| 51 #include "cc/trees/mutator_host.h" | 50 #include "cc/trees/mutator_host.h" |
| (...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1346 LayerListReverseIterator<Layer> LayerTreeHost::rend() { | 1345 LayerListReverseIterator<Layer> LayerTreeHost::rend() { |
| 1347 return LayerListReverseIterator<Layer>(nullptr); | 1346 return LayerListReverseIterator<Layer>(nullptr); |
| 1348 } | 1347 } |
| 1349 | 1348 |
| 1350 void LayerTreeHost::SetNeedsDisplayOnAllLayers() { | 1349 void LayerTreeHost::SetNeedsDisplayOnAllLayers() { |
| 1351 for (auto* layer : *this) | 1350 for (auto* layer : *this) |
| 1352 layer->SetNeedsDisplay(); | 1351 layer->SetNeedsDisplay(); |
| 1353 } | 1352 } |
| 1354 | 1353 |
| 1355 } // namespace cc | 1354 } // namespace cc |
| OLD | NEW |