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( |
| 19 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 20 virtual void PaintTrackBackground( |
| 21 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 22 virtual void PaintBackTrackPart( |
| 23 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 24 virtual void PaintForwardTrackPart( |
| 25 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 26 virtual void PaintBackButtonStart( |
| 27 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 28 virtual void PaintBackButtonEnd( |
| 29 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 30 virtual void PaintForwardButtonStart( |
| 31 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 32 virtual void PaintForwardButtonEnd( |
| 33 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 34 virtual void PaintTickmarks( |
| 35 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 36 virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
| 37 }; |
| 38 |
| 39 } // namespace cc |
| 40 |
| 41 #endif // CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ |
OLD | NEW |