blob: c1a8e09792116e9a809fe286e67a5e56d236006f [file] [log] [blame]
// Copyright 2019 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 CC_PAINT_PAINT_WORKLET_LAYER_PAINTER_H_
#define CC_PAINT_PAINT_WORKLET_LAYER_PAINTER_H_
#include "cc/cc_export.h"
#include "cc/paint/paint_record.h"
namespace cc {
class CC_EXPORT PaintWorkletLayerPainter {
public:
virtual ~PaintWorkletLayerPainter() {}
virtual sk_sp<PaintRecord> Paint() = 0;
};
} // namespace cc
#endif // CC_PAINT_PAINT_WORKLET_LAYER_PAINTER_H_