blob: 6535432bff514ef0d245aedc28885ea52dbab3e2 [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 PaintWorkletInput;
class CC_EXPORT PaintWorkletLayerPainter {
public:
virtual ~PaintWorkletLayerPainter() {}
virtual sk_sp<PaintRecord> Paint(PaintWorkletInput*) = 0;
};
} // namespace cc
#endif // CC_PAINT_PAINT_WORKLET_LAYER_PAINTER_H_