// Copyright 2020 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_INPUT_SCROLL_UTILS_H_ #define CC_INPUT_SCROLL_UTILS_H_ #include "cc/cc_export.h" namespace gfx { class Vector2dF; class SizeF; } // namespace gfx namespace cc { static constexpr int kPixelsPerLineStep = …; static constexpr float kMinFractionToStepWhenPaging = …; // Each directional scroll for percentage-based units should scroll 1/8th of // the scrollable area. static constexpr float kPercentDeltaForDirectionalScroll = …; // Class for scroll helper methods in cc and blink. class CC_EXPORT ScrollUtils { … }; } // namespace cc #endif // CC_INPUT_SCROLL_UTILS_H_