| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 71 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu
reLayerClient*) { return 0; } | 71 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu
reLayerClient*) { return 0; } |
| 72 | 72 |
| 73 virtual WebImageLayer* createImageLayer() { return 0; } | 73 virtual WebImageLayer* createImageLayer() { return 0; } |
| 74 | 74 |
| 75 virtual WebNinePatchLayer* createNinePatchLayer() { return 0; } | 75 virtual WebNinePatchLayer* createNinePatchLayer() { return 0; } |
| 76 | 76 |
| 77 // TODO(dshwang): This isn't used anymore. |
| 77 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; } | 78 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; } |
| 78 | 79 |
| 79 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom
ium. | 80 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom
ium. |
| 80 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT
hemePainter, WebScrollbarThemeGeometry*) { return 0; } | 81 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT
hemePainter, WebScrollbarThemeGeometry*) { return 0; } |
| 81 | 82 |
| 82 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie
ntation, int thumbThickness, bool isLeftSideVerticalScrollbar) { return 0; } | 83 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie
ntation, int thumbThickness, bool isLeftSideVerticalScrollbar) { return 0; } |
| 83 | 84 |
| 84 // Animation ---------------------------------------------------- | 85 // Animation ---------------------------------------------------- |
| 85 | 86 |
| 86 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation
::TargetProperty, int animationId = 0) { return 0; } | 87 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation
::TargetProperty, int animationId = 0) { return 0; } |
| 87 | 88 |
| 88 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; } | 89 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; } |
| 89 | 90 |
| 90 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } | 91 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } |
| 91 | 92 |
| 92 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return
0; } | 93 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return
0; } |
| 93 | 94 |
| 94 virtual WebTransformOperations* createTransformOperations() { return 0; } | 95 virtual WebTransformOperations* createTransformOperations() { return 0; } |
| 95 | 96 |
| 96 virtual WebFilterOperations* createFilterOperations() { return 0; } | 97 virtual WebFilterOperations* createFilterOperations() { return 0; } |
| 97 | 98 |
| 98 protected: | 99 protected: |
| 99 virtual ~WebCompositorSupport() { } | 100 virtual ~WebCompositorSupport() { } |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } | 103 } |
| 103 | 104 |
| 104 #endif // WebCompositorSupport_h | 105 #endif // WebCompositorSupport_h |
| OLD | NEW |