summaryrefslogtreecommitdiffstats
path: root/cc/input/pinch_zoom_scrollbar_painter.h
blob: 1a70a748a0d4c33b4911da58f4f74ac6a00893b2 (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
// 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,
                                        gfx::Rect rect) OVERRIDE;
  virtual void PaintTrackBackground(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
  virtual void PaintBackTrackPart(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
  virtual void PaintForwardTrackPart(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
  virtual void PaintBackButtonStart(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
  virtual void PaintBackButtonEnd(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
  virtual void PaintForwardButtonStart(SkCanvas* canvas,
                                       gfx::Rect rect) OVERRIDE;
  virtual void PaintForwardButtonEnd(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
  virtual void PaintTickmarks(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
  virtual void PaintThumb(SkCanvas* canvas, gfx::Rect rect) OVERRIDE;
};

}  // namespace cc

#endif  // CC_INPUT_PINCH_ZOOM_SCROLLBAR_PAINTER_H_