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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 #ifndef GraphicsLayer_h | 27 #ifndef GraphicsLayer_h |
28 #define GraphicsLayer_h | 28 #define GraphicsLayer_h |
29 | 29 |
30 #include "platform/PlatformExport.h" | 30 #include "platform/PlatformExport.h" |
31 #include "platform/geometry/FloatPoint.h" | 31 #include "platform/geometry/FloatPoint.h" |
32 #include "platform/geometry/FloatPoint3D.h" | 32 #include "platform/geometry/FloatPoint3D.h" |
33 #include "platform/geometry/FloatSize.h" | 33 #include "platform/geometry/FloatSize.h" |
34 #include "platform/geometry/IntRect.h" | 34 #include "platform/geometry/IntRect.h" |
35 #include "platform/graphics/Color.h" | 35 #include "platform/graphics/Color.h" |
| 36 #include "platform/graphics/ContentLayerDelegate.h" |
36 #include "platform/graphics/GraphicsLayerClient.h" | 37 #include "platform/graphics/GraphicsLayerClient.h" |
37 #include "platform/graphics/GraphicsLayerDebugInfo.h" | 38 #include "platform/graphics/GraphicsLayerDebugInfo.h" |
38 #include "platform/graphics/OpaqueRectTrackingContentLayerDelegate.h" | |
39 #include "platform/graphics/filters/FilterOperations.h" | 39 #include "platform/graphics/filters/FilterOperations.h" |
40 #include "platform/transforms/TransformationMatrix.h" | 40 #include "platform/transforms/TransformationMatrix.h" |
41 #include "public/platform/WebCompositorAnimationDelegate.h" | 41 #include "public/platform/WebCompositorAnimationDelegate.h" |
42 #include "public/platform/WebContentLayer.h" | 42 #include "public/platform/WebContentLayer.h" |
43 #include "public/platform/WebImageLayer.h" | 43 #include "public/platform/WebImageLayer.h" |
44 #include "public/platform/WebInvalidationDebugAnnotations.h" | 44 #include "public/platform/WebInvalidationDebugAnnotations.h" |
45 #include "public/platform/WebLayerClient.h" | 45 #include "public/platform/WebLayerClient.h" |
46 #include "public/platform/WebLayerScrollClient.h" | 46 #include "public/platform/WebLayerScrollClient.h" |
47 #include "public/platform/WebNinePatchLayer.h" | 47 #include "public/platform/WebNinePatchLayer.h" |
48 #include "wtf/OwnPtr.h" | 48 #include "wtf/OwnPtr.h" |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 OwnPtr<WebNinePatchLayer> m_ninePatchLayer; | 329 OwnPtr<WebNinePatchLayer> m_ninePatchLayer; |
330 WebLayer* m_contentsLayer; | 330 WebLayer* m_contentsLayer; |
331 // We don't have ownership of m_contentsLayer, but we do want to know if a g
iven layer is the | 331 // We don't have ownership of m_contentsLayer, but we do want to know if a g
iven layer is the |
332 // same as our current layer in setContentsTo(). Since m_contentsLayer may b
e deleted at this point, | 332 // same as our current layer in setContentsTo(). Since m_contentsLayer may b
e deleted at this point, |
333 // we stash an ID away when we know m_contentsLayer is alive and use that fo
r comparisons from that point | 333 // we stash an ID away when we know m_contentsLayer is alive and use that fo
r comparisons from that point |
334 // on. | 334 // on. |
335 int m_contentsLayerId; | 335 int m_contentsLayerId; |
336 | 336 |
337 Vector<LinkHighlightClient*> m_linkHighlights; | 337 Vector<LinkHighlightClient*> m_linkHighlights; |
338 | 338 |
339 OwnPtr<OpaqueRectTrackingContentLayerDelegate> m_opaqueRectTrackingContentLa
yerDelegate; | 339 OwnPtr<ContentLayerDelegate> m_contentLayerDelegate; |
340 | 340 |
341 ScrollableArea* m_scrollableArea; | 341 ScrollableArea* m_scrollableArea; |
342 GraphicsLayerDebugInfo m_debugInfo; | 342 GraphicsLayerDebugInfo m_debugInfo; |
343 int m_3dRenderingContext; | 343 int m_3dRenderingContext; |
344 }; | 344 }; |
345 | 345 |
346 } // namespace blink | 346 } // namespace blink |
347 | 347 |
348 #ifndef NDEBUG | 348 #ifndef NDEBUG |
349 // Outside the WebCore namespace for ease of invocation from gdb. | 349 // Outside the WebCore namespace for ease of invocation from gdb. |
350 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 350 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
351 #endif | 351 #endif |
352 | 352 |
353 #endif // GraphicsLayer_h | 353 #endif // GraphicsLayer_h |
OLD | NEW |