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