| 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 25 matching lines...) Expand all Loading... |
| 36 class GraphicsLayer; | 36 class GraphicsLayer; |
| 37 class IntRect; | 37 class IntRect; |
| 38 | 38 |
| 39 enum GraphicsLayerPaintingPhaseFlags { | 39 enum GraphicsLayerPaintingPhaseFlags { |
| 40 GraphicsLayerPaintBackground = (1 << 0), | 40 GraphicsLayerPaintBackground = (1 << 0), |
| 41 GraphicsLayerPaintForeground = (1 << 1), | 41 GraphicsLayerPaintForeground = (1 << 1), |
| 42 GraphicsLayerPaintMask = (1 << 2), | 42 GraphicsLayerPaintMask = (1 << 2), |
| 43 GraphicsLayerPaintOverflowContents = (1 << 3), | 43 GraphicsLayerPaintOverflowContents = (1 << 3), |
| 44 GraphicsLayerPaintCompositedScroll = (1 << 4), | 44 GraphicsLayerPaintCompositedScroll = (1 << 4), |
| 45 GraphicsLayerPaintChildClippingMask = (1 << 5), | 45 GraphicsLayerPaintChildClippingMask = (1 << 5), |
| 46 GraphicsLayerPaintDecoration = (1 << 6), |
| 46 GraphicsLayerPaintAllWithOverflowClip = | 47 GraphicsLayerPaintAllWithOverflowClip = |
| 47 (GraphicsLayerPaintBackground | GraphicsLayerPaintForeground | | 48 (GraphicsLayerPaintBackground | GraphicsLayerPaintForeground | |
| 48 GraphicsLayerPaintMask) | 49 GraphicsLayerPaintMask) |
| 49 }; | 50 }; |
| 50 typedef unsigned GraphicsLayerPaintingPhase; | 51 typedef unsigned GraphicsLayerPaintingPhase; |
| 51 | 52 |
| 52 enum { | 53 enum { |
| 53 LayerTreeNormal = 0, | 54 LayerTreeNormal = 0, |
| 54 // Dump extra debugging info like layer addresses. | 55 // Dump extra debugging info like layer addresses. |
| 55 LayerTreeIncludesDebugInfo = 1 << 0, | 56 LayerTreeIncludesDebugInfo = 1 << 0, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // This is executed in GraphicsLayer construction and destruction | 96 // This is executed in GraphicsLayer construction and destruction |
| 96 // to verify that we don't create or destroy GraphicsLayers | 97 // to verify that we don't create or destroy GraphicsLayers |
| 97 // while painting. | 98 // while painting. |
| 98 virtual void verifyNotPainting() {} | 99 virtual void verifyNotPainting() {} |
| 99 #endif | 100 #endif |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } // namespace blink | 103 } // namespace blink |
| 103 | 104 |
| 104 #endif // GraphicsLayerClient_h | 105 #endif // GraphicsLayerClient_h |
| OLD | NEW |