add a use_alsa gyp setting
[chromium-blink-merge.git] / cc / scrollbar_theme_painter.h
blob4053eb7026ecfc1998f9d58c63936c8f8f73f38e
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_SCROLLBAR_THEME_PAINTER_H_
6 #define CC_SCROLLBAR_THEME_PAINTER_H_
8 #include "cc/cc_export.h"
10 class SkCanvas;
12 namespace gfx {
13 class Rect;
16 namespace cc {
18 class CC_EXPORT ScrollbarThemePainter {
19 public:
20 virtual ~ScrollbarThemePainter() {}
22 virtual void PaintScrollbarBackground(SkCanvas*, const gfx::Rect&) = 0;
23 virtual void PaintTrackBackground(SkCanvas*, const gfx::Rect&) = 0;
24 virtual void PaintBackTrackPart(SkCanvas*, const gfx::Rect&) = 0;
25 virtual void PaintForwardTrackPart(SkCanvas*, const gfx::Rect&) = 0;
26 virtual void PaintBackButtonStart(SkCanvas*, const gfx::Rect&) = 0;
27 virtual void PaintBackButtonEnd(SkCanvas*, const gfx::Rect&) = 0;
28 virtual void PaintForwardButtonStart(SkCanvas*, const gfx::Rect&) = 0;
29 virtual void PaintForwardButtonEnd(SkCanvas*, const gfx::Rect&) = 0;
30 virtual void PaintTickmarks(SkCanvas*, const gfx::Rect&) = 0;
31 virtual void PaintThumb(SkCanvas*, const gfx::Rect&) = 0;
34 } // namespace cc
36 #endif // CC_SCROLLBAR_THEME_PAINTER_H_