blob: d2d4b46f4fd3df2e146a4324257ccc7993165b92 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_LINE_BOX_LIST_PAINTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_LINE_BOX_LIST_PAINTER_H_
#include "third_party/blink/renderer/core/style/computed_style_constants.h"
#include "third_party/blink/renderer/platform/wtf/allocator.h"
namespace blink {
class LayoutPoint;
struct PaintInfo;
class LayoutBoxModelObject;
class LineBoxList;
class LineBoxListPainter {
STACK_ALLOCATED();
public:
LineBoxListPainter(const LineBoxList& line_box_list)
: line_box_list_(line_box_list) {}
void Paint(const LayoutBoxModelObject&,
const PaintInfo&,
const LayoutPoint& paint_offset) const;
private:
const LineBoxList& line_box_list_;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_LINE_BOX_LIST_PAINTER_H_