blob: 7247c271b4d93c244ce62220f93d02b43694332a [file] [log] [blame]
// Copyright 2018 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_PLATFORM_GRAPHICS_MUTATOR_CLIENT_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_MUTATOR_CLIENT_H_
#include "third_party/blink/renderer/platform/graphics/animation_worklet_mutators_state.h"
#include "third_party/blink/renderer/platform/platform_export.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
class PLATFORM_EXPORT MutatorClient {
public:
virtual ~MutatorClient() = default;
virtual void SynchronizeAnimatorName(const String& animator_name) = 0;
virtual void SetMutationUpdate(std::unique_ptr<AnimationWorkletOutput>) = 0;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_MUTATOR_CLIENT_H_