summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/PaintPhase.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/PaintPhase.h')
-rw-r--r--Source/WebCore/rendering/PaintPhase.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/Source/WebCore/rendering/PaintPhase.h b/Source/WebCore/rendering/PaintPhase.h
index af0bd59b9..49fb7dff8 100644
--- a/Source/WebCore/rendering/PaintPhase.h
+++ b/Source/WebCore/rendering/PaintPhase.h
@@ -23,8 +23,7 @@
*
*/
-#ifndef PaintPhase_h
-#define PaintPhase_h
+#pragma once
namespace WebCore {
@@ -49,21 +48,23 @@ enum PaintPhase {
PaintPhaseSelection,
PaintPhaseCollapsedTableBorders,
PaintPhaseTextClip,
- PaintPhaseMask
+ PaintPhaseMask,
+ PaintPhaseClippingMask
};
enum PaintBehaviorFlags {
- PaintBehaviorNormal = 0,
- PaintBehaviorSelectionOnly = 1 << 0,
- PaintBehaviorForceBlackText = 1 << 1,
- PaintBehaviorFlattenCompositingLayers = 1 << 2,
- PaintBehaviorRenderingSVGMask = 1 << 3,
- PaintBehaviorSkipRootBackground = 1 << 4,
- PaintBehaviorRootBackgroundOnly = 1 << 5
+ PaintBehaviorNormal = 0,
+ PaintBehaviorSelectionOnly = 1 << 0,
+ PaintBehaviorSkipSelectionHighlight = 1 << 1,
+ PaintBehaviorForceBlackText = 1 << 2,
+ PaintBehaviorForceWhiteText = 1 << 3,
+ PaintBehaviorFlattenCompositingLayers = 1 << 4,
+ PaintBehaviorRenderingSVGMask = 1 << 5,
+ PaintBehaviorSkipRootBackground = 1 << 6,
+ PaintBehaviorRootBackgroundOnly = 1 << 7,
+ PaintBehaviorSelectionAndBackgroundsOnly = 1 << 8,
};
typedef unsigned PaintBehavior;
} // namespace WebCore
-
-#endif // PaintPhase_h