blob: e801a1fef62b993d53c0038d590bc6f151981174 [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 DetailsMarkerPainter_h
#define DetailsMarkerPainter_h
namespace blink {
struct PaintInfo;
class Path;
class LayoutPoint;
class RenderDetailsMarker;
class DetailsMarkerPainter {
public:
DetailsMarkerPainter(RenderDetailsMarker& renderDetailsMarker) : m_renderDetailsMarker(renderDetailsMarker) { }
void paint(PaintInfo&, const LayoutPoint& paintOffset);
private:
Path getCanonicalPath() const;
Path getPath(const LayoutPoint& origin) const;
RenderDetailsMarker& m_renderDetailsMarker;
};
} // namespace blink
#endif // DetailsMarkerPainter_h