chromium/third_party/skia/modules/skottie/include/ExternalLayer.h

/*
 * Copyright 2020 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkottieExternalLayer_DEFINED
#define SkottieExternalLayer_DEFINED

#include "include/core/SkRefCnt.h"

class SkCanvas;
struct SkSize;

namespace skottie {

/**
 * Interface for externally-rendered layers.
 */
class ExternalLayer : public SkRefCnt {};

/**
 * Interface for intercepting pre-composed layer creation.
 *
 * Embedders can register interceptors with animation builders, to substitute target layers
 * with arbitrary/externally-controlled content (see ExternalLayer above).
 */
class PrecompInterceptor : public SkRefCnt {};

}  // namespace skottie

#endif // SkottieExternalLayer_DEFINED