OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // etc). | 121 // etc). |
122 virtual void setUseParentBackfaceVisibility(bool) = 0; | 122 virtual void setUseParentBackfaceVisibility(bool) = 0; |
123 | 123 |
124 virtual void setBackgroundColor(WebColor) = 0; | 124 virtual void setBackgroundColor(WebColor) = 0; |
125 virtual WebColor backgroundColor() const = 0; | 125 virtual WebColor backgroundColor() const = 0; |
126 | 126 |
127 // Clear the filters in use by passing in a newly instantiated | 127 // Clear the filters in use by passing in a newly instantiated |
128 // WebFilterOperations object. | 128 // WebFilterOperations object. |
129 virtual void setFilters(const WebFilterOperations&) = 0; | 129 virtual void setFilters(const WebFilterOperations&) = 0; |
130 | 130 |
| 131 // Clear the background filters in use by passing in a newly instantiated |
| 132 // WebFilterOperations object. |
| 133 virtual void setBackgroundFilters(const WebFilterOperations&) = 0; |
| 134 |
131 // An animation delegate is notified when animations are started and | 135 // An animation delegate is notified when animations are started and |
132 // stopped. The WebLayer does not take ownership of the delegate, and it is | 136 // stopped. The WebLayer does not take ownership of the delegate, and it is |
133 // the responsibility of the client to reset the layer's delegate before | 137 // the responsibility of the client to reset the layer's delegate before |
134 // deleting the delegate. | 138 // deleting the delegate. |
135 virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0; | 139 virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0; |
136 | 140 |
137 | 141 |
138 // Returns false if the animation cannot be added. | 142 // Returns false if the animation cannot be added. |
139 // Takes ownership of the WebCompositorAnimation object. | 143 // Takes ownership of the WebCompositorAnimation object. |
140 virtual bool addAnimation(WebCompositorAnimation*) = 0; | 144 virtual bool addAnimation(WebCompositorAnimation*) = 0; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 233 |
230 // True if the layer is not part of a tree attached to a WebLayerTreeView. | 234 // True if the layer is not part of a tree attached to a WebLayerTreeView. |
231 virtual bool isOrphan() const = 0; | 235 virtual bool isOrphan() const = 0; |
232 | 236 |
233 virtual void setWebLayerClient(WebLayerClient*) = 0; | 237 virtual void setWebLayerClient(WebLayerClient*) = 0; |
234 }; | 238 }; |
235 | 239 |
236 } // namespace blink | 240 } // namespace blink |
237 | 241 |
238 #endif // WebLayer_h | 242 #endif // WebLayer_h |
OLD | NEW |