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

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: fix outline not painting problem when scrollingcontents is set to false 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 =
flackr 2016/10/24 17:19:30 I think we need to add PaintLayerPaintingCompositi
yigu 2016/10/24 20:31:36 Done.
73 (PaintLayerPaintingCompositingBackgroundPhase | 74 (PaintLayerPaintingCompositingBackgroundPhase |
74 PaintLayerPaintingCompositingForegroundPhase | 75 PaintLayerPaintingCompositingForegroundPhase |
75 PaintLayerPaintingCompositingMaskPhase) 76 PaintLayerPaintingCompositingMaskPhase)
76 }; 77 };
77 78
78 typedef unsigned PaintLayerFlags; 79 typedef unsigned PaintLayerFlags;
79 80
80 struct PaintLayerPaintingInfo { 81 struct PaintLayerPaintingInfo {
81 STACK_ALLOCATED(); 82 STACK_ALLOCATED();
82 PaintLayerPaintingInfo(PaintLayer* inRootLayer, 83 PaintLayerPaintingInfo(PaintLayer* inRootLayer,
(...skipping 17 matching lines...) Expand all
100 bool clipToDirtyRect; 101 bool clipToDirtyRect;
101 bool ancestorHasClipPathClipping; 102 bool ancestorHasClipPathClipping;
102 103
103 private: 104 private:
104 const GlobalPaintFlags m_globalPaintFlags; 105 const GlobalPaintFlags m_globalPaintFlags;
105 }; 106 };
106 107
107 } // namespace blink 108 } // namespace blink
108 109
109 #endif // PaintLayerPaintingInfo_h 110 #endif // PaintLayerPaintingInfo_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698