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

Unified Diff: webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc

Issue 14651027: Move webkit/compositor_bindings into webkit/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698