Index: webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc |
diff --git a/webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc b/webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc |
deleted file mode 100644 |
index f9527d4638bfe4655082ed9c1b73de58ea0060cb..0000000000000000000000000000000000000000 |
--- a/webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc |
+++ /dev/null |
@@ -1,80 +0,0 @@ |
-// Copyright 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.h" |
- |
-#include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" |
-#include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemePainter.h" |
- |
-using WebKit::WebScrollbarThemePainter; |
- |
-namespace webkit { |
- |
-WebToCCScrollbarThemePainterAdapter:: |
-WebToCCScrollbarThemePainterAdapter( |
- scoped_ptr<WebScrollbarThemePainter> web_painter) |
- : painter_(web_painter.Pass()) {} |
- |
-WebToCCScrollbarThemePainterAdapter::~WebToCCScrollbarThemePainterAdapter() {} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintScrollbarBackground( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintScrollbarBackground(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintTrackBackground( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintTrackBackground(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintBackTrackPart( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintBackTrackPart(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintForwardTrackPart( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintForwardTrackPart(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintBackButtonStart( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintBackButtonStart(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintBackButtonEnd( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintBackButtonEnd(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintForwardButtonStart( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintForwardButtonStart(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintForwardButtonEnd( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintForwardButtonEnd(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintTickmarks( |
- SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintTickmarks(canvas, rect); |
-} |
- |
-void WebToCCScrollbarThemePainterAdapter::PaintThumb(SkCanvas* canvas, |
- gfx::Rect rect) { |
- painter_->paintThumb(canvas, rect); |
-} |
- |
-} // namespace webkit |