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

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

Issue 2842983002: [LayoutNG] Paint inlines from the fragment tree
Patch Set: Rebase w/HEAD Created 3 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NGBlockFlowPainter_h
6 #define NGBlockFlowPainter_h
7
8 #include "platform/wtf/Allocator.h"
9
10 namespace blink {
11
12 class LayoutPoint;
13 struct PaintInfo;
14 class LayoutNGBlockFlow;
15 class NGPhysicalBoxFragment;
16
17 class NGBlockFlowPainter {
18 STACK_ALLOCATED();
19
20 public:
21 NGBlockFlowPainter(const LayoutNGBlockFlow& layout_ng_block_flow)
22 : layout_ng_block_flow_(layout_ng_block_flow) {}
23 void PaintContents(const PaintInfo&, const LayoutPoint&);
24
25 private:
26 void PaintNGBox(const NGPhysicalBoxFragment*,
27 const PaintInfo&,
28 const LayoutPoint&);
29
30 const LayoutNGBlockFlow& layout_ng_block_flow_;
31 };
32
33 } // namespace blink
34
35 #endif // NGBlockFlowPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698