| Index: chrome/browser/ui/libgtkui/gtk_util.h
|
| diff --git a/chrome/browser/ui/libgtkui/gtk_util.h b/chrome/browser/ui/libgtkui/gtk_util.h
|
| index 4e722a4cb276f98e2a08f326366e0cd24227f586..aa9bd19ae53be3b8e3782779383176090a583a84 100644
|
| --- a/chrome/browser/ui/libgtkui/gtk_util.h
|
| +++ b/chrome/browser/ui/libgtkui/gtk_util.h
|
| @@ -19,12 +19,20 @@ class CommandLine;
|
| class Environment;
|
| }
|
|
|
| +namespace color_utils {
|
| +struct HSL;
|
| +}
|
| +
|
| namespace ui {
|
| class Accelerator;
|
| }
|
|
|
| namespace libgtkui {
|
|
|
| +// Default frame tints
|
| +extern const color_utils::HSL kDefaultTintFrameIncognito;
|
| +extern const color_utils::HSL kDefaultTintFrameIncognitoInactive;
|
| +
|
| extern const SkColor kInvalidColorIdColor;
|
| extern const SkColor kURLTextColor;
|
|
|
| @@ -120,10 +128,19 @@ typedef ScopedGObject<GtkStyleContext> ScopedStyleContext;
|
| // must g_object_unref() the returned context.
|
| ScopedStyleContext GetStyleContextFromCss(const char* css_selector);
|
|
|
| +// Removes all border-type properties on |context| and all of its parents.
|
| +void RemoveBorders(GtkStyleContext* context);
|
| +
|
| // Get the 'color' property from the style context created by
|
| // GetStyleContextFromCss(|css_selector|).
|
| SkColor GetFgColor(const char* css_selector);
|
|
|
| +// Renders the backgrounds of all ancestors of |context|, then renders
|
| +// the background for |context| itself.
|
| +void RenderBackground(const gfx::Size& size,
|
| + cairo_t* cr,
|
| + GtkStyleContext* context);
|
| +
|
| // Renders a background from the style context created by
|
| // GetStyleContextFromCss(|css_selector|) into a single pixel and
|
| // returns the color.
|
|
|