// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_LAYERS_LAYER_COLLECTIONS_H_ #define CC_LAYERS_LAYER_COLLECTIONS_H_ #include #include #include #include "base/memory/raw_ptr.h" #include "base/memory/raw_ptr_exclusion.h" #include "base/memory/ref_counted.h" #include "cc/cc_export.h" namespace cc { class Layer; class LayerImpl; class RenderSurfaceImpl; using LayerList = std::vector>; using OwnedLayerImplList = std::vector>; // RAW_PTR_EXCLUSION: Renderer performance: visible in sampling profiler stacks. using LayerImplList = RAW_PTR_EXCLUSION std::vector; using RenderSurfaceList = RAW_PTR_EXCLUSION std::vector; using OwnedLayerImplMap = std::unordered_map>; using LayerImplMap = std::unordered_map>; } // namespace cc #endif // CC_LAYERS_LAYER_COLLECTIONS_H_