mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fb1833eede
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/30988 We have a bunch of flags scattered throughout the codebase with poor hygiene and commenting. Consolidate. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D26392518 fbshipit-source-id: 2823de123a5009d6b8c358e8a3f451b9fa0e05b7
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <react/renderer/core/EventTarget.h>
|
|
#include <react/renderer/debug/flags.h>
|
|
#include <react/renderer/mounting/Differentiator.h>
|
|
#include <react/renderer/mounting/MountingCoordinator.h>
|
|
#include <react/renderer/mounting/MountingOverrideDelegate.h>
|
|
#include <react/renderer/mounting/MountingTransaction.h>
|
|
#include <react/renderer/uimanager/UIManagerAnimationDelegate.h>
|
|
|
|
#include <folly/dynamic.h>
|
|
|
|
#include "LayoutAnimationKeyFrameManager.h"
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class LayoutAnimationDriver : public LayoutAnimationKeyFrameManager {
|
|
public:
|
|
LayoutAnimationDriver(
|
|
RuntimeExecutor runtimeExecutor,
|
|
LayoutAnimationStatusDelegate *delegate)
|
|
: LayoutAnimationKeyFrameManager(runtimeExecutor, delegate) {}
|
|
|
|
virtual ~LayoutAnimationDriver() {}
|
|
|
|
protected:
|
|
virtual void animationMutationsForFrame(
|
|
SurfaceId surfaceId,
|
|
ShadowViewMutation::List &mutationsList,
|
|
uint64_t now) const override;
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|