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

Unified Diff: webkit/compositor_bindings/web_video_layer_impl.cc

Issue 12902002: Remove WebVideoFrame, WebVideoFrameProvider, and WebVideoLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just removing code Created 7 years, 9 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_video_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_video_layer_impl.cc b/webkit/compositor_bindings/web_video_layer_impl.cc
deleted file mode 100644
index bb2470fb43ce6b6c09d86c609010d3c6575f8e72..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/web_video_layer_impl.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2011 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_video_layer_impl.h"
-
-#include "base/bind.h"
-#include "cc/layers/video_layer.h"
-#include "webkit/compositor_bindings/web_layer_impl.h"
-#include "webkit/compositor_bindings/web_to_ccvideo_frame_provider.h"
-#include "webkit/media/webvideoframe_impl.h"
-
-namespace webkit {
-
-WebVideoLayerImpl::WebVideoLayerImpl(
- WebKit::WebVideoFrameProvider* web_provider)
- : provider_adapter_(WebToCCVideoFrameProvider::Create(web_provider)),
- layer_(
- new WebLayerImpl(cc::VideoLayer::Create(provider_adapter_.get()))) {}
-
-WebVideoLayerImpl::~WebVideoLayerImpl() {}
-
-WebKit::WebLayer* WebVideoLayerImpl::layer() { return layer_.get(); }
-
-bool WebVideoLayerImpl::active() const {
- return !!layer_->layer()->layer_tree_host();
-}
-
-} // namespace webkit
« no previous file with comments | « webkit/compositor_bindings/web_video_layer_impl.h ('k') | webkit/media/android/stream_texture_factory_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698