blob: 2ea53d0a2853b7f5b41f85b79b10596f5c7219c5 [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_LIST_ITEM_PAINTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_LIST_ITEM_PAINTER_H_
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
namespace blink {
struct PaintInfo;
class LayoutListItem;
class ListItemPainter {
STACK_ALLOCATED();
public:
ListItemPainter(const LayoutListItem& layout_list_item)
: layout_list_item_(layout_list_item) {}
void Paint(const PaintInfo&);
private:
const LayoutListItem& layout_list_item_;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_LIST_ITEM_PAINTER_H_