OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ | 5 #ifndef CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ |
6 #define CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ | 6 #define CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "cc/scrollbar_theme_painter.h" | 9 #include "cc/layers/scrollbar_theme_painter.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 class PinchZoomScrollbarPainter : public ScrollbarThemePainter { | 13 class PinchZoomScrollbarPainter : public ScrollbarThemePainter { |
14 public: | 14 public: |
15 PinchZoomScrollbarPainter() {} | 15 PinchZoomScrollbarPainter() {} |
16 virtual ~PinchZoomScrollbarPainter(); | 16 virtual ~PinchZoomScrollbarPainter(); |
17 | 17 |
18 virtual void PaintScrollbarBackground( | 18 virtual void PaintScrollbarBackground( |
19 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; | 19 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
(...skipping 12 matching lines...) Expand all Loading... |
32 virtual void PaintForwardButtonEnd( | 32 virtual void PaintForwardButtonEnd( |
33 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; | 33 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
34 virtual void PaintTickmarks( | 34 virtual void PaintTickmarks( |
35 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; | 35 SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
36 virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; | 36 virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
37 }; | 37 }; |
38 | 38 |
39 } // namespace cc | 39 } // namespace cc |
40 | 40 |
41 #endif // CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ | 41 #endif // CC_PINCH_ZOOM_SCROLLBAR_PAINTER_H_ |
OLD | NEW |