OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "web_to_ccscrollbar_theme_painter_adapter.h" |
| 6 |
| 7 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" |
| 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemePa
inter.h" |
| 9 |
| 10 namespace WebKit { |
| 11 |
| 12 WebToCCScrollbarThemePainterAdapter::~WebToCCScrollbarThemePainterAdapter() { |
| 13 } |
| 14 |
| 15 void WebToCCScrollbarThemePainterAdapter::PaintScrollbarBackground( |
| 16 SkCanvas* canvas, const gfx::Rect& rect) { |
| 17 painter_->paintScrollbarBackground(canvas, rect); |
| 18 } |
| 19 |
| 20 void WebToCCScrollbarThemePainterAdapter::PaintTrackBackground( |
| 21 SkCanvas* canvas, const gfx::Rect& rect) { |
| 22 painter_->paintTrackBackground(canvas, rect); |
| 23 } |
| 24 |
| 25 void WebToCCScrollbarThemePainterAdapter::PaintBackTrackPart( |
| 26 SkCanvas* canvas, const gfx::Rect& rect) { |
| 27 painter_->paintBackTrackPart(canvas, rect); |
| 28 } |
| 29 |
| 30 void WebToCCScrollbarThemePainterAdapter::PaintForwardTrackPart( |
| 31 SkCanvas* canvas, const gfx::Rect& rect) { |
| 32 painter_->paintForwardTrackPart(canvas, rect); |
| 33 } |
| 34 |
| 35 void WebToCCScrollbarThemePainterAdapter::PaintBackButtonStart( |
| 36 SkCanvas* canvas, const gfx::Rect& rect) { |
| 37 painter_->paintBackButtonStart(canvas, rect); |
| 38 } |
| 39 |
| 40 void WebToCCScrollbarThemePainterAdapter::PaintBackButtonEnd( |
| 41 SkCanvas* canvas, const gfx::Rect& rect) { |
| 42 painter_->paintBackButtonEnd(canvas, rect); |
| 43 } |
| 44 |
| 45 void WebToCCScrollbarThemePainterAdapter::PaintForwardButtonStart( |
| 46 SkCanvas* canvas, const gfx::Rect& rect) { |
| 47 painter_->paintForwardButtonStart(canvas, rect); |
| 48 } |
| 49 |
| 50 void WebToCCScrollbarThemePainterAdapter::PaintForwardButtonEnd( |
| 51 SkCanvas* canvas, const gfx::Rect& rect) { |
| 52 painter_->paintForwardButtonEnd(canvas, rect); |
| 53 } |
| 54 |
| 55 void WebToCCScrollbarThemePainterAdapter::PaintTickmarks( |
| 56 SkCanvas* canvas, const gfx::Rect& rect) { |
| 57 painter_->paintTickmarks(canvas, rect); |
| 58 } |
| 59 |
| 60 void WebToCCScrollbarThemePainterAdapter::PaintThumb( |
| 61 SkCanvas* canvas, const gfx::Rect& rect) { |
| 62 painter_->paintThumb(canvas, rect); |
| 63 } |
| 64 |
| 65 } // namespace WebKit |
OLD | NEW |