#include "cc/layers/scrollbar_layer_base.h"
#include <memory>
#include <utility>
#include "base/notreached.h"
#include "cc/layers/nine_patch_thumb_scrollbar_layer.h"
#include "cc/layers/painted_scrollbar_layer.h"
#include "cc/layers/scrollbar_layer_impl_base.h"
#include "cc/layers/solid_color_scrollbar_layer.h"
namespace cc {
ScrollbarLayerBase::ScrollbarLayerBase(ScrollbarOrientation orientation,
bool is_left_side_vertical_scrollbar)
: … { … }
ScrollbarLayerBase::~ScrollbarLayerBase() = default;
scoped_refptr<ScrollbarLayerBase> ScrollbarLayerBase::CreateOrReuse(
scoped_refptr<Scrollbar> scrollbar,
ScrollbarLayerBase* existing_layer) { … }
void ScrollbarLayerBase::SetScrollElementId(ElementId element_id) { … }
bool ScrollbarLayerBase::SetHasFindInPageTickmarks(
bool has_find_in_page_tickmarks) { … }
void ScrollbarLayerBase::PushPropertiesTo(
LayerImpl* layer,
const CommitState& commit_state,
const ThreadUnsafeCommitState& unsafe_state) { … }
bool ScrollbarLayerBase::IsScrollbarLayerForTesting() const { … }
}