chromium/cc/layers/painted_scrollbar_layer.h

// Copyright 2013 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_PAINTED_SCROLLBAR_LAYER_H_
#define CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_

#include <memory>

#include "base/functional/function_ref.h"
#include "cc/cc_export.h"
#include "cc/input/scrollbar.h"
#include "cc/layers/layer.h"
#include "cc/layers/scrollbar_layer_base.h"
#include "cc/resources/scoped_ui_resource.h"

namespace cc {

// Generic scrollbar layer for cases not covered by NinPatchThumbScrollbarLayer
// or SolidColorScrollbarLayer. This is not used for legacy webkit custom
// scrollbars. In practice, this is used for
// - overlay and non-overlay scrollbars on MacOS,
// - non-overlay aura scrollbars on non-MacOS desktop platforms,
// - overlay and non-overlay fluent scrollbars on non-MacOS desktop platforms.
class CC_EXPORT PaintedScrollbarLayer : public ScrollbarLayerBase {};

}  // namespace cc

#endif  // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_