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

Side by Side Diff: cc/blink/web_compositor_support_impl.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « cc/blink/web_blend_mode.h ('k') | cc/blink/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 CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_
6 #define CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop_proxy.h"
10 #include "cc/blink/cc_blink_export.h"
11 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h"
12 #include "third_party/WebKit/public/platform/WebCompositorSupport.h"
13 #include "third_party/WebKit/public/platform/WebContentLayerClient.h"
14 #include "third_party/WebKit/public/platform/WebLayer.h"
15 #include "third_party/WebKit/public/platform/WebTransformOperations.h"
16
17 namespace blink {
18 class WebGraphicsContext3D;
19 }
20
21 namespace cc_blink {
22
23 class CC_BLINK_EXPORT WebCompositorSupportImpl
24 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) {
25 public:
26 WebCompositorSupportImpl();
27 virtual ~WebCompositorSupportImpl();
28
29 virtual blink::WebLayer* createLayer();
30 virtual blink::WebContentLayer* createContentLayer(
31 blink::WebContentLayerClient* client);
32 virtual blink::WebExternalTextureLayer* createExternalTextureLayer(
33 blink::WebExternalTextureLayerClient* client);
34 virtual blink::WebImageLayer* createImageLayer();
35 virtual blink::WebNinePatchLayer* createNinePatchLayer();
36 virtual blink::WebScrollbarLayer* createScrollbarLayer(
37 blink::WebScrollbar* scrollbar,
38 blink::WebScrollbarThemePainter painter,
39 blink::WebScrollbarThemeGeometry*);
40 virtual blink::WebScrollbarLayer* createSolidColorScrollbarLayer(
41 blink::WebScrollbar::Orientation orientation,
42 int thumb_thickness,
43 int track_start,
44 bool is_left_side_vertical_scrollbar);
45 virtual blink::WebDisplayItemList* createDisplayItemList();
46 virtual blink::WebCompositorAnimation* createAnimation(
47 const blink::WebCompositorAnimationCurve& curve,
48 blink::WebCompositorAnimation::TargetProperty target,
49 #ifdef WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP
50 int group_id,
51 #endif
52 int animation_id);
53 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve();
54 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve();
55 virtual blink::WebScrollOffsetAnimationCurve*
56 createScrollOffsetAnimationCurve(
57 blink::WebFloatPoint target_value,
58 blink::WebCompositorAnimationCurve::TimingFunctionType
59 timing_function);
60 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve();
61 virtual blink::WebTransformOperations* createTransformOperations();
62 virtual blink::WebFilterOperations* createFilterOperations();
63
64 private:
65 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl);
66 };
67
68 } // namespace cc_blink
69
70 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/web_blend_mode.h ('k') | cc/blink/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698