Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / PaintPhase.h
index 919c65c..a996430 100644 (file)
@@ -38,19 +38,20 @@ namespace blink {
  */
 
 enum PaintPhase {
-    PaintPhaseBlockBackground,
-    PaintPhaseChildBlockBackground,
-    PaintPhaseChildBlockBackgrounds,
-    PaintPhaseFloat,
-    PaintPhaseForeground,
-    PaintPhaseOutline,
-    PaintPhaseChildOutlines,
-    PaintPhaseSelfOutline,
-    PaintPhaseSelection,
-    PaintPhaseCollapsedTableBorders,
-    PaintPhaseTextClip,
-    PaintPhaseMask,
-    PaintPhaseClippingMask,
+    PaintPhaseBlockBackground = 0,
+    PaintPhaseChildBlockBackground = 1,
+    PaintPhaseChildBlockBackgrounds = 2,
+    PaintPhaseFloat = 3,
+    PaintPhaseForeground = 4,
+    PaintPhaseOutline = 5,
+    PaintPhaseChildOutlines = 6,
+    PaintPhaseSelfOutline = 7,
+    PaintPhaseSelection = 8,
+    PaintPhaseCollapsedTableBorders = 9,
+    PaintPhaseTextClip = 10,
+    PaintPhaseMask = 11,
+    PaintPhaseClippingMask = 12,
+    // These values must be kept in sync with DisplayItem::Type.
 };
 
 enum PaintBehaviorFlags {
@@ -58,7 +59,7 @@ enum PaintBehaviorFlags {
     PaintBehaviorSelectionOnly = 1 << 0,
     PaintBehaviorForceBlackText = 1 << 1,
     PaintBehaviorFlattenCompositingLayers = 1 << 2,
-    PaintBehaviorRenderingSVGMask = 1 << 3,
+    PaintBehaviorRenderingClipPathAsMask = 1 << 3,
     PaintBehaviorSkipRootBackground = 1 << 4,
     PaintBehaviorRootBackgroundOnly = 1 << 5
 };