| Index: gfx/color_utils.h
|
| diff --git a/gfx/color_utils.h b/gfx/color_utils.h
|
| index b6eb2daf709447878f6e07dce1dcc0e8f6b17e4c..0e0e174b2c87ae7a3395bfb9fc0ae5ea47ec6a3b 100644
|
| --- a/gfx/color_utils.h
|
| +++ b/gfx/color_utils.h
|
| @@ -26,6 +26,9 @@ double RelativeLuminance(SkColor color);
|
| void SkColorToHSL(SkColor c, HSL* hsl);
|
| SkColor HSLToSkColor(const HSL& hsl, SkAlpha alpha);
|
|
|
| +// Return lightness adjusted color.
|
| +SkColor BrightenColor(const HSL& hsl, SkAlpha alpha, double lightness_amount);
|
| +
|
| // HSL-Shift an SkColor. The shift values are in the range of 0-1, with the
|
| // option to specify -1 for 'no change'. The shift values are defined as:
|
| // hsl_shift[0] (hue): The absolute hue value - 0 and 1 map
|
|
|