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

Unified Diff: webkit/media/web_video_renderer.h

Issue 8601004: Remove --enable-video-logging and WebVideoRenderer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: forgot gypi 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/media/video_renderer_impl.cc ('k') | webkit/media/webkit_media.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/web_video_renderer.h
diff --git a/webkit/media/web_video_renderer.h b/webkit/media/web_video_renderer.h
deleted file mode 100644
index a1770fdfdeccc915901735842407f00ac7c60e34..0000000000000000000000000000000000000000
--- a/webkit/media/web_video_renderer.h
+++ /dev/null
@@ -1,47 +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_MEDIA_WEB_VIDEO_RENDERER_H_
-#define WEBKIT_MEDIA_WEB_VIDEO_RENDERER_H_
-
-#include "media/base/video_frame.h"
-#include "media/filters/video_renderer_base.h"
-#include "ui/gfx/rect.h"
-
-class SkCanvas;
-
-namespace webkit_media {
-
-class WebMediaPlayerProxy;
-
-// A specialized version of a VideoRenderer designed to be used inside WebKit.
-class WebVideoRenderer : public media::VideoRendererBase {
- public:
- WebVideoRenderer() : media::VideoRendererBase() {}
- virtual ~WebVideoRenderer() {}
-
- // Saves the reference to WebMediaPlayerProxy.
- virtual void SetWebMediaPlayerProxy(WebMediaPlayerProxy* proxy) = 0;
-
- // This method is called with the same rect as the Paint() method and could
- // be used by future implementations to implement an improved color space +
- // scale code on a separate thread. Since we always do the stretch on the
- // same thread as the Paint method, we just ignore the call for now.
- //
- // Method called on the render thread.
- virtual void SetRect(const gfx::Rect& rect) = 0;
-
- // Paint the current front frame on the |canvas| stretching it to fit the
- // |dest_rect|.
- //
- // Method called on the render thread.
- virtual void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WebVideoRenderer);
-};
-
-} // namespace webkit_media
-
-#endif // WEBKIT_MEDIA_WEB_VIDEO_RENDERER_H_
« no previous file with comments | « webkit/media/video_renderer_impl.cc ('k') | webkit/media/webkit_media.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698