Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h

Issue 2439113003: Fix the bug that negative outline-offset is covered up by composited (Closed)
Patch Set: Update decoration layer existing condition Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 PaintLayerPaintingOverlayScrollbars = 1 << 3, 62 PaintLayerPaintingOverlayScrollbars = 1 << 3,
63 PaintLayerPaintingCompositingBackgroundPhase = 1 << 4, 63 PaintLayerPaintingCompositingBackgroundPhase = 1 << 4,
64 PaintLayerPaintingCompositingForegroundPhase = 1 << 5, 64 PaintLayerPaintingCompositingForegroundPhase = 1 << 5,
65 PaintLayerPaintingCompositingMaskPhase = 1 << 6, 65 PaintLayerPaintingCompositingMaskPhase = 1 << 6,
66 PaintLayerPaintingCompositingScrollingPhase = 1 << 7, 66 PaintLayerPaintingCompositingScrollingPhase = 1 << 7,
67 PaintLayerPaintingOverflowContents = 1 << 8, 67 PaintLayerPaintingOverflowContents = 1 << 8,
68 PaintLayerPaintingRootBackgroundOnly = 1 << 9, 68 PaintLayerPaintingRootBackgroundOnly = 1 << 9,
69 PaintLayerPaintingSkipRootBackground = 1 << 10, 69 PaintLayerPaintingSkipRootBackground = 1 << 10,
70 PaintLayerPaintingChildClippingMaskPhase = 1 << 11, 70 PaintLayerPaintingChildClippingMaskPhase = 1 << 11,
71 PaintLayerPaintingRenderingClipPathAsMask = 1 << 12, 71 PaintLayerPaintingRenderingClipPathAsMask = 1 << 12,
72 PaintLayerPaintingCompositingDecorationPhase = 1 << 13,
72 PaintLayerPaintingCompositingAllPhases = 73 PaintLayerPaintingCompositingAllPhases =
73 (PaintLayerPaintingCompositingBackgroundPhase | 74 (PaintLayerPaintingCompositingBackgroundPhase |
74 PaintLayerPaintingCompositingForegroundPhase | 75 PaintLayerPaintingCompositingForegroundPhase |
75 PaintLayerPaintingCompositingMaskPhase) 76 PaintLayerPaintingCompositingMaskPhase |
77 PaintLayerPaintingCompositingDecorationPhase)
76 }; 78 };
77 79
78 typedef unsigned PaintLayerFlags; 80 typedef unsigned PaintLayerFlags;
79 81
80 struct PaintLayerPaintingInfo { 82 struct PaintLayerPaintingInfo {
81 STACK_ALLOCATED(); 83 STACK_ALLOCATED();
82 PaintLayerPaintingInfo(PaintLayer* inRootLayer, 84 PaintLayerPaintingInfo(PaintLayer* inRootLayer,
83 const LayoutRect& inDirtyRect, 85 const LayoutRect& inDirtyRect,
84 GlobalPaintFlags globalPaintFlags, 86 GlobalPaintFlags globalPaintFlags,
85 const LayoutSize& inSubPixelAccumulation) 87 const LayoutSize& inSubPixelAccumulation)
(...skipping 14 matching lines...) Expand all
100 bool clipToDirtyRect; 102 bool clipToDirtyRect;
101 bool ancestorHasClipPathClipping; 103 bool ancestorHasClipPathClipping;
102 104
103 private: 105 private:
104 const GlobalPaintFlags m_globalPaintFlags; 106 const GlobalPaintFlags m_globalPaintFlags;
105 }; 107 };
106 108
107 } // namespace blink 109 } // namespace blink
108 110
109 #endif // PaintLayerPaintingInfo_h 111 #endif // PaintLayerPaintingInfo_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698