diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/rendering/PaintPhase.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/rendering/PaintPhase.h')
-rw-r--r-- | Source/WebCore/rendering/PaintPhase.h | 25 |
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 |