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

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

Issue 1379213002: Remove LayoutTable::m_currentBorder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 5 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 "wtf/Allocator.h" 8 #include "wtf/Allocator.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class CollapsedBorderValue;
12 class LayoutPoint; 13 class LayoutPoint;
13 class LayoutTableCell; 14 class LayoutTableCell;
14 class LayoutTableSection; 15 class LayoutTableSection;
15 struct PaintInfo; 16 struct PaintInfo;
16 17
17 class TableSectionPainter { 18 class TableSectionPainter {
18 STACK_ALLOCATED(); 19 STACK_ALLOCATED();
19 public: 20 public:
20 TableSectionPainter(const LayoutTableSection& layoutTableSection) : m_layout TableSection(layoutTableSection) { } 21 TableSectionPainter(const LayoutTableSection& layoutTableSection) : m_layout TableSection(layoutTableSection) { }
21 22
22 void paint(const PaintInfo&, const LayoutPoint&); 23 void paint(const PaintInfo&, const LayoutPoint&);
24 void paintCollapsedBorders(const PaintInfo&, const LayoutPoint&, const Colla psedBorderValue&);
23 25
24 private: 26 private:
25 void paintObject(const PaintInfo&, const LayoutPoint&); 27 void paintObject(const PaintInfo&, const LayoutPoint&);
26 void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&) ; 28 void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&) ;
27 29
28 const LayoutTableSection& m_layoutTableSection; 30 const LayoutTableSection& m_layoutTableSection;
29 }; 31 };
30 32
31 } // namespace blink 33 } // namespace blink
32 34
33 #endif // TableSectionPainter_h 35 #endif // TableSectionPainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/TablePainter.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