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

Side by Side Diff: sky/viewer/cc/web_compositor_support_impl.h

Issue 752683002: Break Sky's dependency on cc (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/viewer/cc/web_blend_mode.h ('k') | sky/viewer/cc/web_compositor_support_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_
6 #define SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop_proxy.h"
10 #include "sky/viewer/cc/sky_viewer_cc_export.h"
11 #include "sky/engine/public/platform/WebCompositorAnimationCurve.h"
12 #include "sky/engine/public/platform/WebCompositorSupport.h"
13 #include "sky/engine/public/platform/WebLayer.h"
14 #include "sky/engine/public/platform/WebTransformOperations.h"
15
16 namespace blink {
17 class WebGraphicsContext3D;
18 }
19
20 namespace sky_viewer_cc {
21
22 class SKY_VIEWER_CC_EXPORT WebCompositorSupportImpl
23 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) {
24 public:
25 WebCompositorSupportImpl();
26 virtual ~WebCompositorSupportImpl();
27
28 virtual blink::WebLayer* createLayer();
29 virtual blink::WebContentLayer* createContentLayer(
30 blink::WebContentLayerClient* client);
31 virtual blink::WebExternalTextureLayer* createExternalTextureLayer(
32 blink::WebExternalTextureLayerClient* client);
33 virtual blink::WebImageLayer* createImageLayer();
34 virtual blink::WebCompositorAnimation* createAnimation(
35 const blink::WebCompositorAnimationCurve& curve,
36 blink::WebCompositorAnimation::TargetProperty target,
37 int animation_id);
38 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve();
39 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve();
40 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve();
41 virtual blink::WebTransformOperations* createTransformOperations();
42 virtual blink::WebFilterOperations* createFilterOperations();
43
44 private:
45 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl);
46 };
47
48 } // namespace sky_viewer_cc
49
50 #endif // SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « sky/viewer/cc/web_blend_mode.h ('k') | sky/viewer/cc/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698