summaryrefslogtreecommitdiffstats
path: root/cc/input/pinch_zoom_scrollbar_painter.h
blob: 1a45678d10c9c848b163a6da6a7146d0c9a78e28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CC_INPUT_PINCH_ZOOM_SCROLLBAR_PAINTER_H_
#define CC_INPUT_PINCH_ZOOM_SCROLLBAR_PAINTER_H_

#include "base/compiler_specific.h"
#include "cc/layers/scrollbar_theme_painter.h"

namespace cc {

class PinchZoomScrollbarPainter : public ScrollbarThemePainter {
 public:
  PinchZoomScrollbarPainter() {}
  virtual ~PinchZoomScrollbarPainter();

  virtual void PaintScrollbarBackground(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintTrackBackground(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintBackTrackPart(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintForwardTrackPart(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintBackButtonStart(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintBackButtonEnd(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintForwardButtonStart(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintForwardButtonEnd(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintTickmarks(
    SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
  virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
};

}  // namespace cc

#endif  // CC_INPUT_PINCH_ZOOM_SCROLLBAR_PAINTER_H_