1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23

cc / trees / viewport_property_ids.h [blame]

// Copyright 2021 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_TREES_VIEWPORT_PROPERTY_IDS_H_
#define CC_TREES_VIEWPORT_PROPERTY_IDS_H_

#include "cc/paint/element_id.h"
#include "cc/trees/property_tree.h"

namespace cc {

struct ViewportPropertyIds {
  int overscroll_elasticity_transform = kInvalidPropertyNodeId;
  int page_scale_transform = kInvalidPropertyNodeId;
  int inner_scroll = kInvalidPropertyNodeId;
  int outer_clip = kInvalidPropertyNodeId;
  int outer_scroll = kInvalidPropertyNodeId;
};

}  // namespace cc

#endif  // CC_TREES_VIEWPORT_PROPERTY_IDS_H_