| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 kGraphicsLayerPaintBackground = (1 << 0), | 40 kGraphicsLayerPaintBackground = (1 << 0), |
| 41 kGraphicsLayerPaintForeground = (1 << 1), | 41 kGraphicsLayerPaintForeground = (1 << 1), |
| 42 kGraphicsLayerPaintMask = (1 << 2), | 42 kGraphicsLayerPaintMask = (1 << 2), |
| 43 kGraphicsLayerPaintOverflowContents = (1 << 3), | 43 kGraphicsLayerPaintOverflowContents = (1 << 3), |
| 44 kGraphicsLayerPaintCompositedScroll = (1 << 4), | 44 kGraphicsLayerPaintCompositedScroll = (1 << 4), |
| 45 kGraphicsLayerPaintChildClippingMask = (1 << 5), | 45 kGraphicsLayerPaintChildClippingMask = (1 << 5), |
| 46 kGraphicsLayerPaintAncestorClippingMask = (1 << 6), | 46 kGraphicsLayerPaintAncestorClippingMask = (1 << 6), |
| 47 kGraphicsLayerPaintDecoration = (1 << 7), | 47 kGraphicsLayerPaintDecoration = (1 << 7), |
| 48 kGraphicsLayerPaintAllWithOverflowClip = | 48 kGraphicsLayerPaintAllWithOverflowClip = |
| 49 (kGraphicsLayerPaintBackground | kGraphicsLayerPaintForeground | | 49 (kGraphicsLayerPaintBackground | kGraphicsLayerPaintForeground | |
| 50 kGraphicsLayerPaintMask | | 50 kGraphicsLayerPaintMask | kGraphicsLayerPaintDecoration) |
| 51 kGraphicsLayerPaintDecoration) | |
| 52 }; | 51 }; |
| 53 typedef unsigned GraphicsLayerPaintingPhase; | 52 typedef unsigned GraphicsLayerPaintingPhase; |
| 54 | 53 |
| 55 enum { | 54 enum { |
| 56 kLayerTreeNormal = 0, | 55 kLayerTreeNormal = 0, |
| 57 // Dump extra debugging info like layer addresses. | 56 // Dump extra debugging info like layer addresses. |
| 58 kLayerTreeIncludesDebugInfo = 1 << 0, | 57 kLayerTreeIncludesDebugInfo = 1 << 0, |
| 59 kLayerTreeIncludesPaintInvalidations = 1 << 1, | 58 kLayerTreeIncludesPaintInvalidations = 1 << 1, |
| 60 kLayerTreeIncludesPaintingPhases = 1 << 2, | 59 kLayerTreeIncludesPaintingPhases = 1 << 2, |
| 61 kLayerTreeIncludesRootLayer = 1 << 3, | 60 kLayerTreeIncludesRootLayer = 1 << 3, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // This is executed in GraphicsLayer construction and destruction | 94 // This is executed in GraphicsLayer construction and destruction |
| 96 // to verify that we don't create or destroy GraphicsLayers | 95 // to verify that we don't create or destroy GraphicsLayers |
| 97 // while painting. | 96 // while painting. |
| 98 virtual void VerifyNotPainting() {} | 97 virtual void VerifyNotPainting() {} |
| 99 #endif | 98 #endif |
| 100 }; | 99 }; |
| 101 | 100 |
| 102 } // namespace blink | 101 } // namespace blink |
| 103 | 102 |
| 104 #endif // GraphicsLayerClient_h | 103 #endif // GraphicsLayerClient_h |
| OLD | NEW |