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

Side by Side Diff: sky/engine/core/rendering/LayerPaintingInfo.h

Issue 778753002: Remove PaintLayerPaintingOverflowContents. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/core/rendering/ClipRectsCache.h ('k') | sky/engine/core/rendering/RenderLayer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 enum PaintLayerFlag { 55 enum PaintLayerFlag {
56 PaintLayerHaveTransparency = 1, 56 PaintLayerHaveTransparency = 1,
57 // FIXME(sky): This is unused. Remove it. 57 // FIXME(sky): This is unused. Remove it.
58 PaintLayerUncachedClipRects = 1 << 2, 58 PaintLayerUncachedClipRects = 1 << 2,
59 PaintLayerPaintingOverlayScrollbars = 1 << 4, 59 PaintLayerPaintingOverlayScrollbars = 1 << 4,
60 PaintLayerPaintingCompositingBackgroundPhase = 1 << 5, 60 PaintLayerPaintingCompositingBackgroundPhase = 1 << 5,
61 PaintLayerPaintingCompositingForegroundPhase = 1 << 6, 61 PaintLayerPaintingCompositingForegroundPhase = 1 << 6,
62 PaintLayerPaintingCompositingMaskPhase = 1 << 7, 62 PaintLayerPaintingCompositingMaskPhase = 1 << 7,
63 PaintLayerPaintingCompositingScrollingPhase = 1 << 8, 63 PaintLayerPaintingCompositingScrollingPhase = 1 << 8,
64 PaintLayerPaintingOverflowContents = 1 << 9,
65 PaintLayerPaintingCompositingAllPhases = (PaintLayerPaintingCompositingBackg roundPhase | PaintLayerPaintingCompositingForegroundPhase | PaintLayerPaintingCo mpositingMaskPhase) 64 PaintLayerPaintingCompositingAllPhases = (PaintLayerPaintingCompositingBackg roundPhase | PaintLayerPaintingCompositingForegroundPhase | PaintLayerPaintingCo mpositingMaskPhase)
66 }; 65 };
67 66
68 typedef unsigned PaintLayerFlags; 67 typedef unsigned PaintLayerFlags;
69 68
70 struct LayerPaintingInfo { 69 struct LayerPaintingInfo {
71 LayerPaintingInfo(RenderLayer* inRootLayer, const LayoutRect& inDirtyRect, 70 LayerPaintingInfo(RenderLayer* inRootLayer, const LayoutRect& inDirtyRect,
72 PaintBehavior inPaintBehavior, const LayoutSize& inSubPixelAccumulation, 71 PaintBehavior inPaintBehavior, const LayoutSize& inSubPixelAccumulation,
73 RenderObject* inPaintingRoot = 0) 72 RenderObject* inPaintingRoot = 0)
74 : rootLayer(inRootLayer) 73 : rootLayer(inRootLayer)
75 , paintingRoot(inPaintingRoot) 74 , paintingRoot(inPaintingRoot)
76 , paintDirtyRect(inDirtyRect) 75 , paintDirtyRect(inDirtyRect)
77 , subPixelAccumulation(inSubPixelAccumulation) 76 , subPixelAccumulation(inSubPixelAccumulation)
78 , paintBehavior(inPaintBehavior) 77 , paintBehavior(inPaintBehavior)
79 , clipToDirtyRect(true) 78 , clipToDirtyRect(true)
80 { } 79 { }
81 RenderLayer* rootLayer; 80 RenderLayer* rootLayer;
82 RenderObject* paintingRoot; // only paint descendants of this object 81 RenderObject* paintingRoot; // only paint descendants of this object
83 LayoutRect paintDirtyRect; // relative to rootLayer; 82 LayoutRect paintDirtyRect; // relative to rootLayer;
84 LayoutSize subPixelAccumulation; 83 LayoutSize subPixelAccumulation;
85 PaintBehavior paintBehavior; 84 PaintBehavior paintBehavior;
86 bool clipToDirtyRect; 85 bool clipToDirtyRect;
87 }; 86 };
88 87
89 } // namespace blink 88 } // namespace blink
90 89
91 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_ 90 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/ClipRectsCache.h ('k') | sky/engine/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698