Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 WEB_COMPOSITOR_SUPPORT_IMPL_H_ | |
|
tfarina
2012/09/01 01:50:02
does this needs to follow our header guards conven
| |
| 6 #define WEB_COMPOSITOR_SUPPORT_IMPL_H_ | |
| 7 | |
| 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h" | |
| 10 | |
| 11 namespace webkit { | |
| 12 | |
| 13 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { | |
| 14 public: | |
| 15 WebCompositorSupportImpl(); | |
| 16 virtual ~WebCompositorSupportImpl(); | |
| 17 | |
| 18 virtual WebKit::WebLayerTreeView* createLayerTreeView( | |
|
tfarina
2012/09/01 01:52:14
Are these virtual functions overrides from WebComp
| |
| 19 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root, | |
| 20 const WebKit::WebLayerTreeView::Settings& settings); | |
| 21 | |
| 22 virtual WebKit::WebLayer* createLayer(); | |
| 23 virtual WebKit::WebContentLayer* createContentLayer( | |
| 24 WebKit::WebContentLayerClient* client); | |
| 25 virtual WebKit::WebExternalTextureLayer* | |
| 26 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); | |
| 27 virtual WebKit::WebIOSurfaceLayer* | |
| 28 createIOSurfaceLayer(); | |
| 29 virtual WebKit::WebImageLayer* createImageLayer(); | |
| 30 virtual WebKit::WebSolidColorLayer* | |
| 31 createSolidColorLayer(); | |
| 32 virtual WebKit::WebVideoLayer* | |
| 33 createVideoLayer(WebKit::WebVideoFrameProvider*); | |
| 34 virtual WebKit::WebScrollbarLayer* createScrollbarLayer( | |
| 35 WebKit::WebScrollbar* scrollbar, | |
| 36 WebKit::WebScrollbarThemePainter painter, | |
| 37 WebKit::WebScrollbarThemeGeometry*); | |
| 38 virtual WebKit::WebAnimation* createAnimation( | |
| 39 const WebKit::WebAnimationCurve& curve, | |
| 40 WebKit::WebAnimation::TargetProperty target, | |
| 41 int animationId); | |
| 42 virtual WebKit::WebFloatAnimationCurve* | |
| 43 createFloatAnimationCurve(); | |
| 44 virtual WebKit::WebTransformAnimationCurve* | |
| 45 createTransformAnimationCurve(); | |
| 46 }; | |
| 47 | |
| 48 } // namespace webkit | |
| 49 | |
| 50 #endif // WEB_COMPOSITOR_SUPPORT_IMPL_H_ | |
| OLD | NEW |