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

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: Rename decorationLayer to decorationOutlineLayer 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 PaintLayerPaintingOverlayScrollbars = 1 << 3, 61 PaintLayerPaintingOverlayScrollbars = 1 << 3,
62 PaintLayerPaintingCompositingBackgroundPhase = 1 << 4, 62 PaintLayerPaintingCompositingBackgroundPhase = 1 << 4,
63 PaintLayerPaintingCompositingForegroundPhase = 1 << 5, 63 PaintLayerPaintingCompositingForegroundPhase = 1 << 5,
64 PaintLayerPaintingCompositingMaskPhase = 1 << 6, 64 PaintLayerPaintingCompositingMaskPhase = 1 << 6,
65 PaintLayerPaintingCompositingScrollingPhase = 1 << 7, 65 PaintLayerPaintingCompositingScrollingPhase = 1 << 7,
66 PaintLayerPaintingOverflowContents = 1 << 8, 66 PaintLayerPaintingOverflowContents = 1 << 8,
67 PaintLayerPaintingRootBackgroundOnly = 1 << 9, 67 PaintLayerPaintingRootBackgroundOnly = 1 << 9,
68 PaintLayerPaintingSkipRootBackground = 1 << 10, 68 PaintLayerPaintingSkipRootBackground = 1 << 10,
69 PaintLayerPaintingChildClippingMaskPhase = 1 << 11, 69 PaintLayerPaintingChildClippingMaskPhase = 1 << 11,
70 PaintLayerPaintingRenderingClipPathAsMask = 1 << 12, 70 PaintLayerPaintingRenderingClipPathAsMask = 1 << 12,
71 PaintLayerPaintingCompositingDecorationPhase = 1 << 13,
71 PaintLayerPaintingCompositingAllPhases = 72 PaintLayerPaintingCompositingAllPhases =
72 (PaintLayerPaintingCompositingBackgroundPhase | 73 (PaintLayerPaintingCompositingBackgroundPhase |
73 PaintLayerPaintingCompositingForegroundPhase | 74 PaintLayerPaintingCompositingForegroundPhase |
74 PaintLayerPaintingCompositingMaskPhase) 75 PaintLayerPaintingCompositingMaskPhase |
76 PaintLayerPaintingCompositingDecorationPhase)
75 }; 77 };
76 78
77 typedef unsigned PaintLayerFlags; 79 typedef unsigned PaintLayerFlags;
78 80
79 struct PaintLayerPaintingInfo { 81 struct PaintLayerPaintingInfo {
80 STACK_ALLOCATED(); 82 STACK_ALLOCATED();
81 PaintLayerPaintingInfo(PaintLayer* inRootLayer, 83 PaintLayerPaintingInfo(PaintLayer* inRootLayer,
82 const LayoutRect& inDirtyRect, 84 const LayoutRect& inDirtyRect,
83 GlobalPaintFlags globalPaintFlags, 85 GlobalPaintFlags globalPaintFlags,
84 const LayoutSize& inSubPixelAccumulation) 86 const LayoutSize& inSubPixelAccumulation)
(...skipping 14 matching lines...) Expand all
99 bool clipToDirtyRect; 101 bool clipToDirtyRect;
100 bool ancestorHasClipPathClipping; 102 bool ancestorHasClipPathClipping;
101 103
102 private: 104 private:
103 const GlobalPaintFlags m_globalPaintFlags; 105 const GlobalPaintFlags m_globalPaintFlags;
104 }; 106 };
105 107
106 } // namespace blink 108 } // namespace blink
107 109
108 #endif // PaintLayerPaintingInfo_h 110 #endif // PaintLayerPaintingInfo_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698