From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/rendering/PaintPhase.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'Source/WebCore/rendering/PaintPhase.h') 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 -- cgit v1.2.1