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

Unified Diff: webkit/compositor_bindings/web_solid_color_layer_impl.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_solid_color_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_solid_color_layer_impl.cc b/webkit/compositor_bindings/web_solid_color_layer_impl.cc
deleted file mode 100644
index aaf19be1cdcbaa7045192640affbfad16a8c309a..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/web_solid_color_layer_impl.cc
+++ /dev/null
@@ -1,27 +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_solid_color_layer_impl.h"
-
-#include "cc/layers/solid_color_layer.h"
-#include "webkit/compositor_bindings/web_layer_impl.h"
-
-using cc::SolidColorLayer;
-
-namespace webkit {
-
-WebSolidColorLayerImpl::WebSolidColorLayerImpl()
- : layer_(new WebLayerImpl(SolidColorLayer::Create())) {
- layer_->layer()->SetIsDrawable(true);
-}
-
-WebSolidColorLayerImpl::~WebSolidColorLayerImpl() {}
-
-WebKit::WebLayer* WebSolidColorLayerImpl::layer() { return layer_.get(); }
-
-void WebSolidColorLayerImpl::setBackgroundColor(WebKit::WebColor color) {
- layer_->setBackgroundColor(color);
-}
-
-} // namespace webkit
« no previous file with comments | « webkit/compositor_bindings/web_solid_color_layer_impl.h ('k') | webkit/compositor_bindings/web_to_ccinput_handler_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698