// 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 BlockFlowPainter_h
#define BlockFlowPainter_h

#include "wtf/Allocator.h"

namespace blink {

class LayoutPoint;
struct PaintInfo;
class LayoutBlockFlow;

class BlockFlowPainter {
    STACK_ALLOCATED();
public:
    BlockFlowPainter(const LayoutBlockFlow& layoutBlockFlow) : m_layoutBlockFlow(layoutBlockFlow) { }
    void paintContents(const PaintInfo&, const LayoutPoint&);
    void paintFloats(const PaintInfo&, const LayoutPoint&);

private:
    const LayoutBlockFlow& m_layoutBlockFlow;
};

} // namespace blink

#endif // BlockFlowPainter_h
