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

Side by Side Diff: third_party/WebKit/Source/core/paint/BlockPainter.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 BlockPainter_h 5 #ifndef BlockPainter_h
6 #define BlockPainter_h 6 #define BlockPainter_h
7 7
8 #include "wtf/Allocator.h" 8 #include "wtf/Allocator.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 24 matching lines...) Expand all
35 void paintAllChildPhasesAtomically(const LayoutBox&, 35 void paintAllChildPhasesAtomically(const LayoutBox&,
36 const PaintInfo&, 36 const PaintInfo&,
37 const LayoutPoint&); 37 const LayoutPoint&);
38 static void paintChildrenOfFlexibleBox(const LayoutFlexibleBox&, 38 static void paintChildrenOfFlexibleBox(const LayoutFlexibleBox&,
39 const PaintInfo&, 39 const PaintInfo&,
40 const LayoutPoint& paintOffset); 40 const LayoutPoint& paintOffset);
41 static void paintInlineBox(const InlineBox&, 41 static void paintInlineBox(const InlineBox&,
42 const PaintInfo&, 42 const PaintInfo&,
43 const LayoutPoint& paintOffset); 43 const LayoutPoint& paintOffset);
44 44
45 // The adjustedPaintOffset should include the location (offset) of the object itself. 45 // The adjustedPaintOffset should include the location (offset) of the object
46 // itself.
46 bool intersectsPaintRect(const PaintInfo&, 47 bool intersectsPaintRect(const PaintInfo&,
47 const LayoutPoint& adjustedPaintOffset) const; 48 const LayoutPoint& adjustedPaintOffset) const;
48 49
49 private: 50 private:
50 void paintCarets(const PaintInfo&, const LayoutPoint&); 51 void paintCarets(const PaintInfo&, const LayoutPoint&);
51 52
52 const LayoutBlock& m_layoutBlock; 53 const LayoutBlock& m_layoutBlock;
53 }; 54 };
54 55
55 } // namespace blink 56 } // namespace blink
56 57
57 #endif // BlockPainter_h 58 #endif // BlockPainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp ('k') | third_party/WebKit/Source/core/paint/BlockPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698