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

Side by Side Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.h

Issue 2392443009: reflow comments in core/paint (Closed)
Patch Set: Created 4 years, 2 months 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 TableSectionPainter_h 5 #ifndef TableSectionPainter_h
6 #define TableSectionPainter_h 6 #define TableSectionPainter_h
7 7
8 #include "core/paint/PaintPhase.h" 8 #include "core/paint/PaintPhase.h"
9 #include "core/style/ShadowData.h" 9 #include "core/style/ShadowData.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
(...skipping 21 matching lines...) Expand all
32 32
33 private: 33 private:
34 void paintObject(const PaintInfo&, const LayoutPoint&); 34 void paintObject(const PaintInfo&, const LayoutPoint&);
35 35
36 void paintBackgroundsBehindCell(const LayoutTableCell&, 36 void paintBackgroundsBehindCell(const LayoutTableCell&,
37 const PaintInfo&, 37 const PaintInfo&,
38 const LayoutPoint&); 38 const LayoutPoint&);
39 void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&); 39 void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&);
40 void paintBoxShadow(const PaintInfo&, const LayoutPoint&, ShadowStyle); 40 void paintBoxShadow(const PaintInfo&, const LayoutPoint&, ShadowStyle);
41 41
42 // Returns the primary cell that should be painted for the grid item at (row, column) 42 // Returns the primary cell that should be painted for the grid item at (row,
43 // intersecting dirtiedRows and dirtiedColumns. Returns nullptr if we have pai nted the grid item 43 // column) intersecting dirtiedRows and dirtiedColumns. Returns nullptr if we
44 // when painting the grid item left to or above (row, column) when painting ce lls intersecting 44 // have painted the grid item when painting the grid item left to or above
45 // dirtiedRows and dirtiedColumns. 45 // (row, column) when painting cells intersecting dirtiedRows and
46 // dirtiedColumns.
46 const LayoutTableCell* primaryCellToPaint( 47 const LayoutTableCell* primaryCellToPaint(
47 unsigned row, 48 unsigned row,
48 unsigned column, 49 unsigned column,
49 const CellSpan& dirtiedRows, 50 const CellSpan& dirtiedRows,
50 const CellSpan& dirtiedColumns) const; 51 const CellSpan& dirtiedColumns) const;
51 52
52 enum ItemToPaint { PaintCollapsedBorders, PaintSection }; 53 enum ItemToPaint { PaintCollapsedBorders, PaintSection };
53 void paintRepeatingHeaderGroup(const PaintInfo&, 54 void paintRepeatingHeaderGroup(const PaintInfo&,
54 const LayoutPoint& paintOffset, 55 const LayoutPoint& paintOffset,
55 const CollapsedBorderValue& currentBorderValue, 56 const CollapsedBorderValue& currentBorderValue,
56 ItemToPaint); 57 ItemToPaint);
57 void paintSection(const PaintInfo&, const LayoutPoint&); 58 void paintSection(const PaintInfo&, const LayoutPoint&);
58 void paintCollapsedSectionBorders(const PaintInfo&, 59 void paintCollapsedSectionBorders(const PaintInfo&,
59 const LayoutPoint&, 60 const LayoutPoint&,
60 const CollapsedBorderValue&); 61 const CollapsedBorderValue&);
61 62
62 const LayoutTableSection& m_layoutTableSection; 63 const LayoutTableSection& m_layoutTableSection;
63 }; 64 };
64 65
65 } // namespace blink 66 } // namespace blink
66 67
67 #endif // TableSectionPainter_h 68 #endif // TableSectionPainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/TableRowPainter.cpp ('k') | third_party/WebKit/Source/core/paint/TableSectionPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698