1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18

cc / paint / scroll_offset_map.h [blame]

// Copyright 2024 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_PAINT_SCROLL_OFFSET_MAP_H_
#define CC_PAINT_SCROLL_OFFSET_MAP_H_

#include "base/containers/flat_map.h"
#include "cc/paint/element_id.h"
#include "ui/gfx/geometry/point_f.h"

namespace cc {

using ScrollOffsetMap = base::flat_map<ElementId, gfx::PointF>;

}  // namespace cc

#endif  // CC_PAINT_SCROLL_OFFSET_MAP_H_