| 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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1438 LayerListReverseIterator<Layer> LayerTreeHost::rend() { | 1437 LayerListReverseIterator<Layer> LayerTreeHost::rend() { |
| 1439 return LayerListReverseIterator<Layer>(nullptr); | 1438 return LayerListReverseIterator<Layer>(nullptr); |
| 1440 } | 1439 } |
| 1441 | 1440 |
| 1442 void LayerTreeHost::SetNeedsDisplayOnAllLayers() { | 1441 void LayerTreeHost::SetNeedsDisplayOnAllLayers() { |
| 1443 for (auto* layer : *this) | 1442 for (auto* layer : *this) |
| 1444 layer->SetNeedsDisplay(); | 1443 layer->SetNeedsDisplay(); |
| 1445 } | 1444 } |
| 1446 | 1445 |
| 1447 } // namespace cc | 1446 } // namespace cc |
| OLD | NEW |