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

Side by Side Diff: webkit/compositor_bindings/web_video_layer_impl.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_VIDEO_LAYER_IMPL_H_
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_VIDEO_LAYER_IMPL_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h"
10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
11
12 namespace WebKit { class WebVideoFrameProvider; }
13
14 namespace webkit {
15
16 class WebLayerImpl;
17 class WebToCCVideoFrameProvider;
18
19 class WebVideoLayerImpl : public WebKit::WebVideoLayer {
20 public:
21 WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebVideoLayerImpl(
22 WebKit::WebVideoFrameProvider*);
23 virtual ~WebVideoLayerImpl();
24
25 // WebKit::WebVideoLayer implementation.
26 virtual WebKit::WebLayer* layer();
27 virtual bool active() const;
28
29 private:
30 scoped_ptr<WebToCCVideoFrameProvider> provider_adapter_;
31 scoped_ptr<WebLayerImpl> layer_;
32
33 DISALLOW_COPY_AND_ASSIGN(WebVideoLayerImpl);
34 };
35
36 }
37
38 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_VIDEO_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_to_ccvideo_frame_provider.cc ('k') | webkit/compositor_bindings/web_video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698