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

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

Issue 2021703002: Display table header groups at the top of each page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 6 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 void paintBackgroundsBehindCell(const LayoutTableCell&, const PaintInfo&, co nst LayoutPoint&); 32 void paintBackgroundsBehindCell(const LayoutTableCell&, const PaintInfo&, co nst LayoutPoint&);
33 void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&) ; 33 void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&) ;
34 void paintBoxShadow(const PaintInfo&, const LayoutPoint&, ShadowStyle); 34 void paintBoxShadow(const PaintInfo&, const LayoutPoint&, ShadowStyle);
35 35
36 // Returns the primary cell that should be painted for the grid item at (row , column) 36 // Returns the primary cell that should be painted for the grid item at (row , column)
37 // intersecting dirtiedRows and dirtiedColumns. Returns nullptr if we have p ainted the grid item 37 // intersecting dirtiedRows and dirtiedColumns. Returns nullptr if we have p ainted the grid item
38 // when painting the grid item left to or above (row, column) when painting cells intersecting 38 // when painting the grid item left to or above (row, column) when painting cells intersecting
39 // dirtiedRows and dirtiedColumns. 39 // dirtiedRows and dirtiedColumns.
40 const LayoutTableCell* primaryCellToPaint(unsigned row, unsigned column, con st CellSpan& dirtiedRows, const CellSpan& dirtiedColumns) const; 40 const LayoutTableCell* primaryCellToPaint(unsigned row, unsigned column, con st CellSpan& dirtiedRows, const CellSpan& dirtiedColumns) const;
41 41
42 enum ItemToPaint {
43 PaintCollapsedBorders,
44 PaintSection
45 };
46 void paintRepeatingHeaderGroup(const PaintInfo&, const LayoutPoint& paintOff set, const CollapsedBorderValue& currentBorderValue, ItemToPaint);
47 void paintSection(const PaintInfo&, const LayoutPoint&);
48 void paintCollapsedSectionBorders(const PaintInfo&, const LayoutPoint&, cons t CollapsedBorderValue&);
49
42 const LayoutTableSection& m_layoutTableSection; 50 const LayoutTableSection& m_layoutTableSection;
43 }; 51 };
44 52
45 } // namespace blink 53 } // namespace blink
46 54
47 #endif // TableSectionPainter_h 55 #endif // TableSectionPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698