OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 float Opacity() const { return opacity_; } | 176 float Opacity() const { return opacity_; } |
177 void SetOpacity(float); | 177 void SetOpacity(float); |
178 | 178 |
179 void SetBlendMode(WebBlendMode); | 179 void SetBlendMode(WebBlendMode); |
180 void SetIsRootForIsolatedGroup(bool); | 180 void SetIsRootForIsolatedGroup(bool); |
181 | 181 |
182 void SetFilters(CompositorFilterOperations); | 182 void SetFilters(CompositorFilterOperations); |
183 void SetBackdropFilters(CompositorFilterOperations); | 183 void SetBackdropFilters(CompositorFilterOperations); |
184 | 184 |
185 void SetStickyPositionConstraint(const WebLayerStickyPositionConstraint&); | 185 void SetStickyPositionConstraint(const WebLayerStickyPositionConstraint&); |
| 186 void SetStickyMainThreadOffset(const WebSize&); |
186 | 187 |
187 void SetFilterQuality(SkFilterQuality); | 188 void SetFilterQuality(SkFilterQuality); |
188 | 189 |
189 // Some GraphicsLayers paint only the foreground or the background content | 190 // Some GraphicsLayers paint only the foreground or the background content |
190 GraphicsLayerPaintingPhase PaintingPhase() const { return painting_phase_; } | 191 GraphicsLayerPaintingPhase PaintingPhase() const { return painting_phase_; } |
191 void SetPaintingPhase(GraphicsLayerPaintingPhase); | 192 void SetPaintingPhase(GraphicsLayerPaintingPhase); |
192 | 193 |
193 void SetNeedsDisplay(); | 194 void SetNeedsDisplay(); |
194 // Mark the given rect (in layer coords) as needing display. Never goes deep. | 195 // Mark the given rect (in layer coords) as needing display. Never goes deep. |
195 void SetNeedsDisplayInRect(const IntRect&, | 196 void SetNeedsDisplayInRect(const IntRect&, |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 }; | 396 }; |
396 | 397 |
397 } // namespace blink | 398 } // namespace blink |
398 | 399 |
399 #ifndef NDEBUG | 400 #ifndef NDEBUG |
400 // Outside the blink namespace for ease of invocation from gdb. | 401 // Outside the blink namespace for ease of invocation from gdb. |
401 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 402 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
402 #endif | 403 #endif |
403 | 404 |
404 #endif // GraphicsLayer_h | 405 #endif // GraphicsLayer_h |
OLD | NEW |