OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 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. |
| 4 |
| 5 #ifndef CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ |
| 6 #define CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "cc/scrollbar_theme_painter.h" |
| 10 |
| 11 namespace cc { |
| 12 |
| 13 class PinchZoomScrollbarPainter : public ScrollbarThemePainter { |
| 14 public: |
| 15 PinchZoomScrollbarPainter() {} |
| 16 virtual ~PinchZoomScrollbarPainter(); |
| 17 |
| 18 virtual void PaintScrollbarBackground(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 19 virtual void PaintTrackBackground(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 20 virtual void PaintBackTrackPart(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 21 virtual void PaintForwardTrackPart(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 22 virtual void PaintBackButtonStart(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 23 virtual void PaintBackButtonEnd(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 24 virtual void PaintForwardButtonStart(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 25 virtual void PaintForwardButtonEnd(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 26 virtual void PaintTickmarks(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 27 virtual void PaintThumb(SkCanvas*, const gfx::Rect&) OVERRIDE; |
| 28 }; |
| 29 |
| 30 } // namespace cc |
| 31 |
| 32 #endif // CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ |
OLD | NEW |