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

Unified Diff: webkit/glue/webvideoframe_impl.h

Issue 8570010: Moving media-related files from webkit/glue/ to webkit/media/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: minor fixes Created 9 years, 1 month 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/glue/webmediaplayer_proxy.cc ('k') | webkit/glue/webvideoframe_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webvideoframe_impl.h
diff --git a/webkit/glue/webvideoframe_impl.h b/webkit/glue/webvideoframe_impl.h
deleted file mode 100644
index 9cdf691f5fb862f36e930699dc0fc61f038d0ad1..0000000000000000000000000000000000000000
--- a/webkit/glue/webvideoframe_impl.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 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.
-
-#ifndef WEBKIT_GLUE_WEBVIDEOFRAME_IMPL_H_
-#define WEBKIT_GLUE_WEBVIDEOFRAME_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "media/base/video_frame.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebVideoFrame.h"
-
-namespace webkit_glue {
-
-class WebVideoFrameImpl : public WebKit::WebVideoFrame {
- public:
- // This converts a WebKit::WebVideoFrame to a media::VideoFrame.
- static media::VideoFrame* toVideoFrame(
- WebKit::WebVideoFrame* web_video_frame);
-
- WebVideoFrameImpl(scoped_refptr<media::VideoFrame> video_frame);
- virtual ~WebVideoFrameImpl();
- virtual WebVideoFrame::Format format() const OVERRIDE;
- virtual unsigned width() const OVERRIDE;
- virtual unsigned height() const OVERRIDE;
- virtual unsigned planes() const OVERRIDE;
- virtual int stride(unsigned plane) const OVERRIDE;
- virtual const void* data(unsigned plane) const OVERRIDE;
-
- private:
- scoped_refptr<media::VideoFrame> video_frame_;
- DISALLOW_COPY_AND_ASSIGN(WebVideoFrameImpl);
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_WEBVIDEOFRAME_IMPL_H_
« no previous file with comments | « webkit/glue/webmediaplayer_proxy.cc ('k') | webkit/glue/webvideoframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698