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

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

Issue 768973004: Remove PaintBehavior. It's unused. (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/frame/LocalFrame.cpp ('k') | sky/engine/core/rendering/PaintInfo.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 // FIXME(sky): Get rid of this bitmasking and just use a regular enum. 55 // FIXME(sky): Get rid of this bitmasking and just use a regular enum.
56 enum PaintLayerFlag { 56 enum PaintLayerFlag {
57 PaintLayerPaintingOverlayScrollbars = 1, 57 PaintLayerPaintingOverlayScrollbars = 1,
58 }; 58 };
59 59
60 typedef unsigned PaintLayerFlags; 60 typedef unsigned PaintLayerFlags;
61 61
62 struct LayerPaintingInfo { 62 struct LayerPaintingInfo {
63 LayerPaintingInfo(RenderLayer* inRootLayer, const LayoutRect& inDirtyRect, 63 LayerPaintingInfo(RenderLayer* inRootLayer, const LayoutRect& inDirtyRect,
64 PaintBehavior inPaintBehavior, const LayoutSize& inSubPixelAccumulation, 64 const LayoutSize& inSubPixelAccumulation, RenderObject* inPaintingRoot = 0)
65 RenderObject* inPaintingRoot = 0)
66 : rootLayer(inRootLayer) 65 : rootLayer(inRootLayer)
67 , paintingRoot(inPaintingRoot) 66 , paintingRoot(inPaintingRoot)
68 , paintDirtyRect(inDirtyRect) 67 , paintDirtyRect(inDirtyRect)
69 , subPixelAccumulation(inSubPixelAccumulation) 68 , subPixelAccumulation(inSubPixelAccumulation)
70 , paintBehavior(inPaintBehavior)
71 , clipToDirtyRect(true) 69 , clipToDirtyRect(true)
72 { } 70 { }
73 RenderLayer* rootLayer; 71 RenderLayer* rootLayer;
74 RenderObject* paintingRoot; // only paint descendants of this object 72 RenderObject* paintingRoot; // only paint descendants of this object
75 LayoutRect paintDirtyRect; // relative to rootLayer; 73 LayoutRect paintDirtyRect; // relative to rootLayer;
76 LayoutSize subPixelAccumulation; 74 LayoutSize subPixelAccumulation;
77 PaintBehavior paintBehavior;
78 bool clipToDirtyRect; 75 bool clipToDirtyRect;
79 }; 76 };
80 77
81 } // namespace blink 78 } // namespace blink
82 79
83 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_ 80 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_
OLDNEW
« no previous file with comments | « sky/engine/core/frame/LocalFrame.cpp ('k') | sky/engine/core/rendering/PaintInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698