#include "cc/layers/solid_color_scrollbar_layer.h"
#include <memory>
#include "cc/layers/layer_impl.h"
#include "cc/layers/solid_color_scrollbar_layer_impl.h"
#include "cc/trees/layer_tree_host.h"
#include "cc/trees/layer_tree_settings.h"
namespace cc {
std::unique_ptr<LayerImpl> SolidColorScrollbarLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
scoped_refptr<SolidColorScrollbarLayer> SolidColorScrollbarLayer::CreateOrReuse(
scoped_refptr<Scrollbar> scrollbar,
SolidColorScrollbarLayer* existing_layer) { … }
scoped_refptr<SolidColorScrollbarLayer> SolidColorScrollbarLayer::Create(
ScrollbarOrientation orientation,
int thumb_thickness,
int track_start,
bool is_left_side_vertical_scrollbar) { … }
SolidColorScrollbarLayer::SolidColorScrollbarLayer(
ScrollbarOrientation orientation,
int thumb_thickness,
int track_start,
bool is_left_side_vertical_scrollbar)
: … { … }
SolidColorScrollbarLayer::~SolidColorScrollbarLayer() = default;
void SolidColorScrollbarLayer::SetOpacity(float opacity) { … }
void SolidColorScrollbarLayer::SetNeedsDisplayRect(const gfx::Rect& rect) { … }
bool SolidColorScrollbarLayer::OpacityCanAnimateOnImplThread() const { … }
ScrollbarLayerBase::ScrollbarLayerType
SolidColorScrollbarLayer::GetScrollbarLayerType() const { … }
void SolidColorScrollbarLayer::PushPropertiesTo(
LayerImpl* layer,
const CommitState& commit_state,
const ThreadUnsafeCommitState& unsafe_state) { … }
void SolidColorScrollbarLayer::SetLayerTreeHost(LayerTreeHost* host) { … }
void SolidColorScrollbarLayer::SetColor(SkColor4f color) { … }
}