blob: bf2e7f7dbea43dd8f018f14966b4b62e1c6e6c4c [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_COMMON_VERTICAL_SCROLL_DIRECTION_H_
#define COMPONENTS_VIZ_COMMON_VERTICAL_SCROLL_DIRECTION_H_
namespace viz {
// Used to indicate the vertical scroll direction of the root layer. Note that
// |kNull| is only used to represent the absence of a vertical scroll direction.
// See services/viz/public/mojom/vertical_scroll_position.mojom.
enum class VerticalScrollDirection { kNull, kDown, kUp };
} // namespace viz
#endif // COMPONENTS_VIZ_COMMON_VERTICAL_SCROLL_DIRECTION_H_