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

Unified Diff: webkit/compositor_bindings/web_to_ccvideo_frame_provider.h

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_to_ccvideo_frame_provider.h
diff --git a/webkit/compositor_bindings/web_to_ccvideo_frame_provider.h b/webkit/compositor_bindings/web_to_ccvideo_frame_provider.h
deleted file mode 100644
index ec743df56791a46db5db01294169f1277ef841bc..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/web_to_ccvideo_frame_provider.h
+++ /dev/null
@@ -1,44 +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.
-
-#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_TO_CCVIDEO_FRAME_PROVIDER_H_
-#define WEBKIT_COMPOSITOR_BINDINGS_WEB_TO_CCVIDEO_FRAME_PROVIDER_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "cc/layers/video_frame_provider.h"
-
-namespace WebKit {
-class WebVideoFrame;
-class WebVideoFrameProvider;
-}
-
-namespace webkit {
-
-class WebToCCVideoFrameProvider : public cc::VideoFrameProvider {
- public:
- static scoped_ptr<WebToCCVideoFrameProvider> Create(
- WebKit::WebVideoFrameProvider* web_provider);
- virtual ~WebToCCVideoFrameProvider();
-
- // cc::VideoFrameProvider implementation.
- virtual void SetVideoFrameProviderClient(Client* client) OVERRIDE;
- virtual scoped_refptr<media::VideoFrame> GetCurrentFrame() OVERRIDE;
- virtual void PutCurrentFrame(const scoped_refptr<media::VideoFrame>& frame)
- OVERRIDE;
-
- private:
- explicit WebToCCVideoFrameProvider(WebKit::WebVideoFrameProvider*);
-
- class ClientAdapter;
- scoped_ptr<ClientAdapter> client_adapter_;
- WebKit::WebVideoFrameProvider* web_provider_;
- WebKit::WebVideoFrame* web_frame_;
-
- DISALLOW_COPY_AND_ASSIGN(WebToCCVideoFrameProvider);
-};
-
-} // namespace webkit
-
-#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_TO_CCVIDEO_FRAME_PROVIDER_H_
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.cc ('k') | webkit/compositor_bindings/web_to_ccvideo_frame_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698