| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class WebLayer; | 51 class WebLayer; |
| 52 class WebScrollbarLayer; | 52 class WebScrollbarLayer; |
| 53 class WebScrollbarThemeGeometry; | 53 class WebScrollbarThemeGeometry; |
| 54 class WebScrollOffsetAnimationCurve; | 54 class WebScrollOffsetAnimationCurve; |
| 55 class WebTransformAnimationCurve; | 55 class WebTransformAnimationCurve; |
| 56 class WebTransformOperations; | 56 class WebTransformOperations; |
| 57 | 57 |
| 58 class WebCompositorSupport { | 58 class WebCompositorSupport { |
| 59 public: | 59 public: |
| 60 // Creates an output surface for the compositor backed by a 3d context. | 60 // Creates an output surface for the compositor backed by a 3d context. |
| 61 virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(blink::WebGraph
icsContext3D*) { return 0; } | 61 virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(WebGraphicsCont
ext3D*) { return 0; } |
| 62 | 62 |
| 63 // Creates an output surface for the compositor backed by a software device. | 63 // Creates an output surface for the compositor backed by a software device. |
| 64 virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { retur
n 0; } | 64 virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { retur
n 0; } |
| 65 | 65 |
| 66 // Layers ------------------------------------------------------- | 66 // Layers ------------------------------------------------------- |
| 67 | 67 |
| 68 virtual WebLayer* createLayer() { return 0; } | 68 virtual WebLayer* createLayer() { return 0; } |
| 69 | 69 |
| 70 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return
0; } | 70 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return
0; } |
| 71 | 71 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 96 | 96 |
| 97 virtual WebFilterOperations* createFilterOperations() { return 0; } | 97 virtual WebFilterOperations* createFilterOperations() { return 0; } |
| 98 | 98 |
| 99 protected: | 99 protected: |
| 100 virtual ~WebCompositorSupport() { } | 100 virtual ~WebCompositorSupport() { } |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } | 103 } |
| 104 | 104 |
| 105 #endif // WebCompositorSupport_h | 105 #endif // WebCompositorSupport_h |
| OLD | NEW |