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

Side by Side Diff: webkit/compositor_bindings/web_video_layer_impl.h

Issue 12481008: Remove cross-repo OVERRIDE annotations and IWYU-ify comp bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix forward decl in web_float_animation_curve_impl.h 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
« no previous file with comments | « webkit/compositor_bindings/web_transform_operations_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebVideoLayerImpl_h 5 #ifndef WebVideoLayerImpl_h
6 #define WebVideoLayerImpl_h 6 #define WebVideoLayerImpl_h
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h"
10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" 10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
11 11
12 namespace webkit { class WebToCCVideoFrameProvider; } 12 namespace webkit { class WebToCCVideoFrameProvider; }
13 13
14 namespace WebKit { 14 namespace WebKit {
15
15 class WebLayerImpl; 16 class WebLayerImpl;
17 class WebVideoFrameProvider;
16 18
17 class WebVideoLayerImpl : public WebVideoLayer { 19 class WebVideoLayerImpl : public WebVideoLayer {
18 public: 20 public:
19 WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebVideoLayerImpl( 21 WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebVideoLayerImpl(
20 WebVideoFrameProvider*); 22 WebVideoFrameProvider*);
21 virtual ~WebVideoLayerImpl(); 23 virtual ~WebVideoLayerImpl();
22 24
23 // WebVideoLayer implementation. 25 // WebVideoLayer implementation.
24 virtual WebLayer* layer() OVERRIDE; 26 virtual WebLayer* layer();
25 virtual bool active() const OVERRIDE; 27 virtual bool active() const;
26 28
27 private: 29 private:
28 scoped_ptr<webkit::WebToCCVideoFrameProvider> provider_adapter_; 30 scoped_ptr<webkit::WebToCCVideoFrameProvider> provider_adapter_;
29 scoped_ptr<WebLayerImpl> layer_; 31 scoped_ptr<WebLayerImpl> layer_;
30 }; 32 };
31 33
32 } 34 }
33 35
34 #endif // WebVideoLayerImpl_h 36 #endif // WebVideoLayerImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_transform_operations_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698