Skip to content
Permalink
Browse files
[chromium] Remove the WebVideoFrame, WebVideoFrameProvider, WebStream…
…TextureClient, and WebVideoLayer classes.

https://bugs.webkit.org/show_bug.cgi?id=112483

Reviewed by James Robinson.

Source/Platform:

These classes are no longer used, so remove them. And remove APIs
to provide them.

* Platform.gypi:
* chromium/public/WebCompositorSupport.h:
(WebKit):
* chromium/public/WebVideoFrame.h: Removed.
* chromium/public/WebVideoFrameProvider.h: Removed.
* chromium/public/WebVideoLayer.h: Removed.

Source/WebKit/chromium:

These classes are no longer used, so remove them.

* WebKit.gyp:
* public/WebMediaPlayer.h:
(WebKit):
(WebMediaPlayer):
* public/WebStreamTextureClient.h: Removed.
* public/WebVideoFrame.h: Removed.


Canonical link: https://commits.webkit.org/131702@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@146957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
danakj committed Mar 27, 2013
1 parent 49802df commit bf6fcd34471f306c26b8fe36a3403a2bc7f9f1d1
Showing 11 changed files with 33 additions and 274 deletions.
@@ -1,3 +1,20 @@
2013-03-26 Dana Jansens <danakj@chromium.org>

[chromium] Remove the WebVideoFrame, WebVideoFrameProvider, WebStreamTextureClient, and WebVideoLayer classes.
https://bugs.webkit.org/show_bug.cgi?id=112483

Reviewed by James Robinson.

These classes are no longer used, so remove them. And remove APIs
to provide them.

* Platform.gypi:
* chromium/public/WebCompositorSupport.h:
(WebKit):
* chromium/public/WebVideoFrame.h: Removed.
* chromium/public/WebVideoFrameProvider.h: Removed.
* chromium/public/WebVideoLayer.h: Removed.

2013-03-25 Dana Jansens <danakj@chromium.org>

[chromium] Move ownership of compositor VideoLayer to WebMediaPlayer
@@ -150,9 +150,6 @@
'chromium/public/WebURLRequest.h',
'chromium/public/WebURLResponse.h',
'chromium/public/WebVector.h',
'chromium/public/WebVideoLayer.h',
'chromium/public/WebVideoFrame.h',
'chromium/public/WebVideoFrameProvider.h',
'chromium/public/WebWorkerRunLoop.h',
'chromium/public/android/WebSandboxSupport.h',
'chromium/public/android/WebThemeEngine.h',
@@ -50,8 +50,6 @@ class WebSolidColorLayer;
class WebThread;
class WebTransformAnimationCurve;
class WebTransformOperations;
class WebVideoFrameProvider;
class WebVideoLayer;

class WebCompositorSupport {
public:
@@ -83,8 +81,6 @@ class WebCompositorSupport {

virtual WebSolidColorLayer* createSolidColorLayer() { return 0; }

virtual WebVideoLayer* createVideoLayer(WebVideoFrameProvider*) { return 0; }

virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarThemeGeometry*) { return 0; }


This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,3 +1,19 @@
2013-03-26 Dana Jansens <danakj@chromium.org>

[chromium] Remove the WebVideoFrame, WebVideoFrameProvider, WebStreamTextureClient, and WebVideoLayer classes.
https://bugs.webkit.org/show_bug.cgi?id=112483

Reviewed by James Robinson.

These classes are no longer used, so remove them.

* WebKit.gyp:
* public/WebMediaPlayer.h:
(WebKit):
(WebMediaPlayer):
* public/WebStreamTextureClient.h: Removed.
* public/WebVideoFrame.h: Removed.

2013-03-26 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed. Rolled Chromium DEPS to r190706. Requested by
@@ -262,7 +262,6 @@
'public/WebStorageQuotaType.h',
'public/WebStorageQuotaError.h',
'public/WebSurroundingText.h',
'public/WebStreamTextureClient.h',
'public/WebTextAffinity.h',
'public/WebTextCaseSensitivity.h',
'public/WebTextCheckingCompletion.h',
@@ -33,7 +33,6 @@

#include "../../../Platform/chromium/public/WebCanvas.h"
#include "../../../Platform/chromium/public/WebString.h"
#include "../../../Platform/chromium/public/WebVideoFrame.h"
#include "WebTimeRange.h"

namespace WebKit {
@@ -42,7 +41,6 @@ class WebAudioSourceProvider;
class WebAudioSourceProviderClient;
class WebMediaPlayerClient;
class WebMediaSource;
class WebStreamTextureClient;
class WebString;
class WebURL;
struct WebRect;
@@ -155,23 +153,9 @@ class WebMediaPlayer {
virtual unsigned audioDecodedByteCount() const = 0;
virtual unsigned videoDecodedByteCount() const = 0;

// This function returns a pointer to a WebVideoFrame, which is
// a WebKit wrapper for a video frame in chromium. This places a lock
// on the frame in chromium, and calls to this method should always be
// followed with a call to putCurrentFrame(). The ownership of this object
// is not transferred to the caller, and the caller should not free the
// returned object.
virtual WebVideoFrame* getCurrentFrame() { return 0; }
// This function releases the lock on the current video frame in Chromium.
// It should always be called after getCurrentFrame(). Frame passed to this
// method should no longer be referenced after the call is made.
virtual void putCurrentFrame(WebVideoFrame*) { }

// Do a GPU-GPU textures copy if possible.
virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned level, unsigned internalFormat, bool premultiplyAlpha, bool flipY) { return false; }

virtual void setStreamTextureClient(WebStreamTextureClient*) { }

virtual WebAudioSourceProvider* audioSourceProvider() { return 0; }

// Returns whether keySystem is supported. If true, the result will be

This file was deleted.

This file was deleted.

0 comments on commit bf6fcd3

Please sign in to comment.