OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_LAYERS_SCROLLBAR_THEME_PAINTER_H_ | 5 #ifndef CC_LAYERS_SCROLLBAR_THEME_PAINTER_H_ |
6 #define CC_LAYERS_SCROLLBAR_THEME_PAINTER_H_ | 6 #define CC_LAYERS_SCROLLBAR_THEME_PAINTER_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/cc_export.h" |
9 | 9 |
10 class SkCanvas; | 10 class SkCanvas; |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 class Rect; | 13 class Rect; |
14 } | 14 } |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 | 17 |
18 class CC_EXPORT ScrollbarThemePainter { | 18 class CC_EXPORT ScrollbarThemePainter { |
(...skipping 16 matching lines...) Expand all Loading... |
35 const gfx::Rect& rect) = 0; | 35 const gfx::Rect& rect) = 0; |
36 virtual void PaintForwardButtonEnd(SkCanvas* canvas, | 36 virtual void PaintForwardButtonEnd(SkCanvas* canvas, |
37 const gfx::Rect& rect) = 0; | 37 const gfx::Rect& rect) = 0; |
38 virtual void PaintTickmarks(SkCanvas* canvas, const gfx::Rect& rect) = 0; | 38 virtual void PaintTickmarks(SkCanvas* canvas, const gfx::Rect& rect) = 0; |
39 virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) = 0; | 39 virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) = 0; |
40 }; | 40 }; |
41 | 41 |
42 } // namespace cc | 42 } // namespace cc |
43 | 43 |
44 #endif // CC_LAYERS_SCROLLBAR_THEME_PAINTER_H_ | 44 #endif // CC_LAYERS_SCROLLBAR_THEME_PAINTER_H_ |
OLD | NEW |