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

Unified Diff: webkit/compositor/WebScrollbarLayerImpl.cpp

Issue 10920056: Make cc_unittests and webkit_compositor_unittests executable always (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to webkit_compositor_bindings Created 8 years, 4 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
« no previous file with comments | « webkit/compositor/WebScrollbarLayerImpl.h ('k') | webkit/compositor/WebSolidColorLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor/WebScrollbarLayerImpl.cpp
diff --git a/webkit/compositor/WebScrollbarLayerImpl.cpp b/webkit/compositor/WebScrollbarLayerImpl.cpp
deleted file mode 100644
index 6aa6978146dae349377714b974665b7c3993bbde..0000000000000000000000000000000000000000
--- a/webkit/compositor/WebScrollbarLayerImpl.cpp
+++ /dev/null
@@ -1,43 +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 "config.h"
-#include "WebScrollbarLayerImpl.h"
-
-#include "ScrollbarLayerChromium.h"
-#include "WebLayerImpl.h"
-
-using WebCore::ScrollbarLayerChromium;
-
-namespace WebKit {
-
-WebScrollbarLayer* WebScrollbarLayer::create(WebScrollbar* scrollbar, WebScrollbarThemePainter painter, WebScrollbarThemeGeometry* geometry)
-{
- return new WebScrollbarLayerImpl(scrollbar, painter, geometry);
-}
-
-
-WebScrollbarLayerImpl::WebScrollbarLayerImpl(WebScrollbar* scrollbar, WebScrollbarThemePainter painter, WebScrollbarThemeGeometry* geometry)
- : m_layer(adoptPtr(new WebLayerImpl(ScrollbarLayerChromium::create(adoptPtr(scrollbar), painter, adoptPtr(geometry), 0))))
-{
-}
-
-WebScrollbarLayerImpl::~WebScrollbarLayerImpl()
-{
-}
-
-WebLayer* WebScrollbarLayerImpl::layer()
-{
- return m_layer.get();
-}
-
-void WebScrollbarLayerImpl::setScrollLayer(WebLayer* layer)
-{
- int id = layer ? static_cast<WebLayerImpl*>(layer)->layer()->id() : 0;
- static_cast<ScrollbarLayerChromium*>(m_layer->layer())->setScrollLayerId(id);
-}
-
-
-
-} // namespace WebKit
« no previous file with comments | « webkit/compositor/WebScrollbarLayerImpl.h ('k') | webkit/compositor/WebSolidColorLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698