Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: cc/scrollbar_theme_painter.h

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_SCROLLBAR_THEME_PAINTER_H_ 5 #ifndef CC_SCROLLBAR_THEME_PAINTER_H_
6 #define CC_SCROLLBAR_THEME_PAINTER_H_ 6 #define CC_SCROLLBAR_THEME_PAINTER_H_
7 7
8 #include "cc/cc_export.h" 8 #include "cc/base/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 {
19 public: 19 public:
20 virtual ~ScrollbarThemePainter() {} 20 virtual ~ScrollbarThemePainter() {}
21 21
22 virtual void PaintScrollbarBackground(SkCanvas*, const gfx::Rect&) = 0; 22 virtual void PaintScrollbarBackground(SkCanvas*, const gfx::Rect&) = 0;
23 virtual void PaintTrackBackground(SkCanvas*, const gfx::Rect&) = 0; 23 virtual void PaintTrackBackground(SkCanvas*, const gfx::Rect&) = 0;
24 virtual void PaintBackTrackPart(SkCanvas*, const gfx::Rect&) = 0; 24 virtual void PaintBackTrackPart(SkCanvas*, const gfx::Rect&) = 0;
25 virtual void PaintForwardTrackPart(SkCanvas*, const gfx::Rect&) = 0; 25 virtual void PaintForwardTrackPart(SkCanvas*, const gfx::Rect&) = 0;
26 virtual void PaintBackButtonStart(SkCanvas*, const gfx::Rect&) = 0; 26 virtual void PaintBackButtonStart(SkCanvas*, const gfx::Rect&) = 0;
27 virtual void PaintBackButtonEnd(SkCanvas*, const gfx::Rect&) = 0; 27 virtual void PaintBackButtonEnd(SkCanvas*, const gfx::Rect&) = 0;
28 virtual void PaintForwardButtonStart(SkCanvas*, const gfx::Rect&) = 0; 28 virtual void PaintForwardButtonStart(SkCanvas*, const gfx::Rect&) = 0;
29 virtual void PaintForwardButtonEnd(SkCanvas*, const gfx::Rect&) = 0; 29 virtual void PaintForwardButtonEnd(SkCanvas*, const gfx::Rect&) = 0;
30 virtual void PaintTickmarks(SkCanvas*, const gfx::Rect&) = 0; 30 virtual void PaintTickmarks(SkCanvas*, const gfx::Rect&) = 0;
31 virtual void PaintThumb(SkCanvas*, const gfx::Rect&) = 0; 31 virtual void PaintThumb(SkCanvas*, const gfx::Rect&) = 0;
32 }; 32 };
33 33
34 } // namespace cc 34 } // namespace cc
35 35
36 #endif // CC_SCROLLBAR_THEME_PAINTER_H_ 36 #endif // CC_SCROLLBAR_THEME_PAINTER_H_
OLDNEW
« cc/cc.gyp ('K') | « cc/scrollbar_layer_impl_base.h ('k') | cc/shared_quad_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698