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

Unified Diff: cc/test/fake_video_frame.h

Issue 11754003: Move VideoFrameProvider to, and remove all usage of WebVideoFrame from cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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 | « cc/layer_tree_host_unittest_context.cc ('k') | cc/test/fake_video_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_video_frame.h
diff --git a/cc/test/fake_video_frame.h b/cc/test/fake_video_frame.h
deleted file mode 100644
index 0631f4879459e1466fd238753bf336a28097abbb..0000000000000000000000000000000000000000
--- a/cc/test/fake_video_frame.h
+++ /dev/null
@@ -1,39 +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 CC_TEST_FAKE_VIDEO_FRAME_H_
-#define CC_TEST_FAKE_VIDEO_FRAME_H_
-
-#include "media/base/video_frame.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebVideoFrame.h"
-
-namespace cc {
-
-class FakeVideoFrame : public WebKit::WebVideoFrame {
- public:
- explicit FakeVideoFrame(const scoped_refptr<media::VideoFrame>& frame);
- virtual ~FakeVideoFrame();
-
- // WebKit::WebVideoFrame implementation.
- virtual Format format() const;
- virtual unsigned width() const;
- virtual unsigned height() const;
- virtual unsigned planes() const;
- virtual int stride(unsigned plane) const;
- virtual const void* data(unsigned plane) const;
- virtual unsigned textureId() const;
- virtual unsigned textureTarget() const;
- virtual WebKit::WebRect visibleRect() const;
- virtual WebKit::WebSize textureSize() const;
-
- static media::VideoFrame* ToVideoFrame(
- WebKit::WebVideoFrame* web_video_frame);
-
- private:
- scoped_refptr<media::VideoFrame> frame_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_FAKE_VIDEO_FRAME_H_
« no previous file with comments | « cc/layer_tree_host_unittest_context.cc ('k') | cc/test/fake_video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698