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

Side by Side Diff: cc/pinch_zoom_scrollbar_painter.h

Issue 11550035: Implement pinch-zoom scaling for main-frame scrollbars and pinch-zoom overlay scrollbars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix impl-side painting issues. Created 7 years, 10 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
(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;
jamesr 2013/02/26 20:48:46 parameters need names
wjmaclean 2013/03/01 15:30:32 Done.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698