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: third_party/WebKit/Source/core/paint/TableCellPainter.h

Issue 2548333003: Revert of Paint collapsed borders of a table as one display item (Closed)
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TableCellPainter_h 5 #ifndef TableCellPainter_h
6 #define TableCellPainter_h 6 #define TableCellPainter_h
7 7
8 #include "core/style/CollapsedBorderValue.h" 8 #include "core/style/CollapsedBorderValue.h"
9 #include "platform/graphics/paint/DisplayItem.h" 9 #include "platform/graphics/paint/DisplayItem.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
(...skipping 21 matching lines...) Expand all
32 const CollapsedBorderValue&); 32 const CollapsedBorderValue&);
33 void paintContainerBackgroundBehindCell(const PaintInfo&, 33 void paintContainerBackgroundBehindCell(const PaintInfo&,
34 const LayoutPoint&, 34 const LayoutPoint&,
35 const LayoutObject& backgroundObject, 35 const LayoutObject& backgroundObject,
36 DisplayItem::Type); 36 DisplayItem::Type);
37 void paintBoxDecorationBackground(const PaintInfo&, 37 void paintBoxDecorationBackground(const PaintInfo&,
38 const LayoutPoint& paintOffset); 38 const LayoutPoint& paintOffset);
39 void paintMask(const PaintInfo&, const LayoutPoint& paintOffset); 39 void paintMask(const PaintInfo&, const LayoutPoint& paintOffset);
40 40
41 private: 41 private:
42 const DisplayItemClient& displayItemClientForBorders() const;
42 LayoutRect paintRectNotIncludingVisualOverflow( 43 LayoutRect paintRectNotIncludingVisualOverflow(
43 const LayoutPoint& paintOffset); 44 const LayoutPoint& paintOffset);
44 void paintBackground(const PaintInfo&, 45 void paintBackground(const PaintInfo&,
45 const LayoutRect&, 46 const LayoutRect&,
46 const LayoutObject& backgroundObject); 47 const LayoutObject& backgroundObject);
47 48
48 const LayoutTableCell& m_layoutTableCell; 49 const LayoutTableCell& m_layoutTableCell;
49 }; 50 };
50 51
51 } // namespace blink 52 } // namespace blink
52 53
53 #endif // TableCellPainter_h 54 #endif // TableCellPainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintInvalidator.cpp ('k') | third_party/WebKit/Source/core/paint/TableCellPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698