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 #include "web_to_ccscrollbar_theme_painter_adapter.h" | 5 #include "webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.h" |
6 | 6 |
7 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" | 7 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" |
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemePa
inter.h" | 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemePa
inter.h" |
9 | 9 |
10 namespace WebKit { | 10 namespace WebKit { |
11 | 11 |
12 WebToCCScrollbarThemePainterAdapter::~WebToCCScrollbarThemePainterAdapter() { | 12 WebToCCScrollbarThemePainterAdapter::~WebToCCScrollbarThemePainterAdapter() { |
13 } | 13 } |
14 | 14 |
15 void WebToCCScrollbarThemePainterAdapter::PaintScrollbarBackground( | 15 void WebToCCScrollbarThemePainterAdapter::PaintScrollbarBackground( |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 SkCanvas* canvas, const gfx::Rect& rect) { | 56 SkCanvas* canvas, const gfx::Rect& rect) { |
57 painter_->paintTickmarks(canvas, rect); | 57 painter_->paintTickmarks(canvas, rect); |
58 } | 58 } |
59 | 59 |
60 void WebToCCScrollbarThemePainterAdapter::PaintThumb( | 60 void WebToCCScrollbarThemePainterAdapter::PaintThumb( |
61 SkCanvas* canvas, const gfx::Rect& rect) { | 61 SkCanvas* canvas, const gfx::Rect& rect) { |
62 painter_->paintThumb(canvas, rect); | 62 painter_->paintThumb(canvas, rect); |
63 } | 63 } |
64 | 64 |
65 } // namespace WebKit | 65 } // namespace WebKit |
OLD | NEW |