| Index: chrome/browser/ui/views/detachable_toolbar_view.h
|
| diff --git a/chrome/browser/ui/views/detachable_toolbar_view.h b/chrome/browser/ui/views/detachable_toolbar_view.h
|
| index 52374c0f43477641e6a09c4a5b971c023a498046..f4214f25e252dc910dad88dc78fbaa1bfc191405 100644
|
| --- a/chrome/browser/ui/views/detachable_toolbar_view.h
|
| +++ b/chrome/browser/ui/views/detachable_toolbar_view.h
|
| @@ -8,6 +8,10 @@
|
|
|
| #include "ui/views/accessible_pane_view.h"
|
|
|
| +namespace gfx {
|
| +class ImageSkia;
|
| +}
|
| +
|
| struct SkRect;
|
|
|
| // DetachableToolbarView contains functionality common to views that can detach
|
| @@ -34,9 +38,12 @@ class DetachableToolbarView : public views::AccessiblePaneView {
|
| // Paints the background (including the theme image behind content area) when
|
| // the bar/shelf is attached to the top toolbar. |background_origin| is the
|
| // origin to use for painting the theme image.
|
| - static void PaintBackgroundAttachedMode(gfx::Canvas* canvas,
|
| - views::View* view,
|
| - const gfx::Point& background_origin);
|
| + static void PaintBackgroundAttachedMode(
|
| + gfx::Canvas* canvas,
|
| + views::View* view,
|
| + const gfx::Point& background_origin,
|
| + SkColor toolbar_background_color,
|
| + gfx::ImageSkia* toolbar_background_image);
|
|
|
| // Calculate the rect for the content area of the bar/shelf. This is only
|
| // needed when the bar/shelf is detached from the Chrome frame (otherwise the
|
|
|