OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #ifndef WebCompositorSupport_h | 26 #ifndef WebCompositorSupport_h |
27 #define WebCompositorSupport_h | 27 #define WebCompositorSupport_h |
28 | 28 |
29 #include "WebAnimation.h" | 29 #include "WebAnimation.h" |
30 #include "WebCommon.h" | 30 #include "WebCommon.h" |
31 #include "WebLayerTreeView.h" | 31 #include "WebLayerTreeView.h" |
32 #include "WebScrollbar.h" | 32 #include "WebScrollbar.h" |
33 #include "WebScrollbarThemePainter.h" | 33 #include "WebScrollbarThemePainter.h" |
34 | 34 |
35 namespace WebKit { | 35 namespace blink { |
36 | 36 |
37 class WebAnimationCurve; | 37 class WebAnimationCurve; |
38 class WebCompositorOutputSurface; | 38 class WebCompositorOutputSurface; |
39 class WebContentLayer; | 39 class WebContentLayer; |
40 class WebContentLayerClient; | 40 class WebContentLayerClient; |
41 class WebExternalTextureLayer; | 41 class WebExternalTextureLayer; |
42 class WebExternalTextureLayerClient; | 42 class WebExternalTextureLayerClient; |
43 class WebFilterAnimationCurve; | 43 class WebFilterAnimationCurve; |
44 class WebFilterOperations; | 44 class WebFilterOperations; |
45 class WebFloatAnimationCurve; | 45 class WebFloatAnimationCurve; |
46 class WebGraphicsContext3D; | 46 class WebGraphicsContext3D; |
47 class WebImageLayer; | 47 class WebImageLayer; |
48 class WebNinePatchLayer; | 48 class WebNinePatchLayer; |
49 class WebLayer; | 49 class WebLayer; |
50 class WebScrollbarLayer; | 50 class WebScrollbarLayer; |
51 class WebScrollbarThemeGeometry; | 51 class WebScrollbarThemeGeometry; |
52 class WebSolidColorLayer; | 52 class WebSolidColorLayer; |
53 class WebThread; | 53 class WebThread; |
54 class WebTransformAnimationCurve; | 54 class WebTransformAnimationCurve; |
55 class WebTransformOperations; | 55 class WebTransformOperations; |
56 | 56 |
57 class WebCompositorSupport { | 57 class WebCompositorSupport { |
58 public: | 58 public: |
59 // Creates an output surface for the compositor backed by a 3d context. | 59 // Creates an output surface for the compositor backed by a 3d context. |
60 virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(WebKit::WebGrap
hicsContext3D*) { return 0; } | 60 virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(blink::WebGraph
icsContext3D*) { return 0; } |
61 | 61 |
62 // Creates an output surface for the compositor backed by a software device. | 62 // Creates an output surface for the compositor backed by a software device. |
63 virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { retur
n 0; } | 63 virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { retur
n 0; } |
64 | 64 |
65 // Layers ------------------------------------------------------- | 65 // Layers ------------------------------------------------------- |
66 | 66 |
67 virtual WebLayer* createLayer() { return 0; } | 67 virtual WebLayer* createLayer() { return 0; } |
68 | 68 |
69 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return
0; } | 69 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return
0; } |
70 | 70 |
(...skipping 24 matching lines...) Expand all Loading... |
95 | 95 |
96 virtual WebFilterOperations* createFilterOperations() { return 0; } | 96 virtual WebFilterOperations* createFilterOperations() { return 0; } |
97 | 97 |
98 protected: | 98 protected: |
99 virtual ~WebCompositorSupport() { } | 99 virtual ~WebCompositorSupport() { } |
100 }; | 100 }; |
101 | 101 |
102 } | 102 } |
103 | 103 |
104 #endif // WebCompositorSupport_h | 104 #endif // WebCompositorSupport_h |
OLD | NEW |