Lines Matching refs:Background
5 #include "ui/views/background.h"
17 // SolidBackground is a trivial Background implementation that fills the
18 // background in a solid color.
19 class SolidBackground : public Background {
26 // Fill the background. Note that we don't constrain to the bounds as
35 class BackgroundPainter : public Background {
59 Background::Background()
67 Background::~Background() {
73 void Background::SetNativeControlColor(SkColor color) {
82 HBRUSH Background::GetNativeControlBrush() const {
90 Background* Background::CreateSolidBackground(SkColor color) {
95 Background* Background::CreateStandardPanelBackground() {
101 Background* Background::CreateVerticalGradientBackground(SkColor color1,
103 Background* background = CreateBackgroundPainter(
105 background->SetNativeControlColor(
108 return background;
112 Background* Background::CreateVerticalMultiColorGradientBackground(
116 Background* background = CreateBackgroundPainter(
118 background->SetNativeControlColor(
121 return background;
125 Background* Background::CreateBackgroundPainter(bool owns_painter,