mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Fix AnimatedPropsRegistry surface-stop resurrection race (#57376)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57376 AnimatedPropsRegistry::update() runs on the UI thread every animation frame and created a surface's entry via operator[]. clearOnSurfaceStop() (run on the JS thread when a surface stops) erases that entry, but an in-flight animation frame landing after the stop re-created it via operator[] -- and since the surface is gone, nothing ever cleans it up again. The resurrected entry leaks its PropsSnapshot and ShadowNodeFamily for the lifetime of the registry. A surface's entry is legitimately created by getMap(), which AnimationBackendCommitHook calls on every React commit. stopSurface drains in-flight commits before unregistering the ShadowTree (ShadowTreeRegistry::remove takes the registry's unique lock, which excludes the shared-locked commit visits), so getMap() can never run for a stopped surface. That leaves update()'s operator[] as the only thing that can resurrect one. Fix: update() now only refines surfaces that already exist (find instead of operator[]) and never creates an entry; getMap() remains the sole creator. A stopped surface can no longer be resurrected, and there is no extra bookkeeping that could grow over time. Changelog: [General][Fixed] - Fix a surface-stop race in the C++ Animated shared backend that could permanently leak per-surface animated state Reviewed By: javache Differential Revision: D109156094 fbshipit-source-id: 4684ca51d372023e3b082427a225de7d84d14889
This commit is contained in:
1 parent
1136e41bd8
commit
d9d2502b61
19 files changed
+85
-43
No files matched your search
@@ -1558,6 +1558,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -4501,8 +4502,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -5234,6 +5235,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -5248,7 +5250,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -5319,8 +5320,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -1553,6 +1553,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -4321,8 +4322,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -5048,6 +5049,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -5062,7 +5064,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -5133,8 +5134,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -1557,6 +1557,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -4498,8 +4499,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -5225,6 +5226,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -5239,7 +5241,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -5310,8 +5311,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -4142,6 +4142,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -6699,8 +6700,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -7413,6 +7414,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -7427,7 +7429,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -7498,8 +7499,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -4126,6 +4126,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -6547,8 +6548,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -7255,6 +7256,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -7269,7 +7271,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -7340,8 +7341,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -4141,6 +4141,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -6696,8 +6697,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -7404,6 +7405,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -7418,7 +7420,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -7489,8 +7490,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -883,6 +883,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -3057,8 +3058,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -3687,6 +3688,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -3701,7 +3703,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -3772,8 +3773,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -879,6 +879,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -2917,8 +2918,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -3541,6 +3542,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -3555,7 +3557,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -3626,8 +3627,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
@@ -882,6 +882,7 @@ class facebook::react::AnimatedPropsRegistry {
|
||||
public std::pair<std::unordered_set<std::shared_ptr<const facebook::react::ShadowNodeFamily>>&, facebook::react::SnapshotMap&> getMap(facebook::react::SurfaceId surfaceId);
|
||||
public void clear(facebook::react::SurfaceId surfaceId);
|
||||
public void clearOnSurfaceStop(facebook::react::SurfaceId surfaceId);
|
||||
public void initializeSurface(facebook::react::SurfaceId surfaceId);
|
||||
public void update(const std::unordered_map<facebook::react::SurfaceId, facebook::react::SurfaceUpdates>& surfaceUpdates);
|
||||
}
|
||||
|
||||
@@ -3054,8 +3055,8 @@ class facebook::react::Scheduler : public facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) override;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) override;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) final;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) final;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) override;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void animationTick() const;
|
||||
@@ -3678,6 +3679,7 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public virtual void shadowTreeDidFinishTransaction(std::shared_ptr<const facebook::react::MountingCoordinator> mountingCoordinator, bool mountSynchronously) const override;
|
||||
public virtual void shadowTreeDidPromoteReactRevision(const facebook::react::ShadowTree& shadowTree) const override;
|
||||
public void addEventListener(std::shared_ptr<const facebook::react::EventListener> listener);
|
||||
public void addOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void animationTick() const;
|
||||
public void appendChild(const std::shared_ptr<const facebook::react::ShadowNode>& parentShadowNode, const std::shared_ptr<const facebook::react::ShadowNode>& childShadowNode) const;
|
||||
public void completeSurface(facebook::react::SurfaceId surfaceId, const std::shared_ptr<std::vector<std::shared_ptr<const facebook::react::ShadowNode>>>& rootChildren, facebook::react::ShadowTree::CommitOptions commitOptions);
|
||||
@@ -3692,7 +3694,6 @@ class facebook::react::UIManager : public facebook::react::ShadowTreeDelegate {
|
||||
public void setDelegate(facebook::react::UIManagerDelegate* delegate);
|
||||
public void setIsJSResponder(const std::shared_ptr<const facebook::react::ShadowNode>& shadowNode, bool isJSResponder, bool blockNativeResponder) const;
|
||||
public void setNativeAnimatedDelegate(std::weak_ptr<facebook::react::UIManagerNativeAnimatedDelegate> delegate);
|
||||
public void setOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback);
|
||||
public void setSurfaceProps(facebook::react::SurfaceId surfaceId, const std::string& moduleName, const folly::dynamic& props, facebook::react::DisplayMode displayMode) const noexcept;
|
||||
public void setViewTransitionDelegate(facebook::react::UIManagerViewTransitionDelegate* delegate);
|
||||
public void startEmptySurface(facebook::react::ShadowTree::Unique&& shadowTree) const noexcept;
|
||||
@@ -3763,8 +3764,8 @@ class facebook::react::UIManagerDelegate {
|
||||
public virtual void uiManagerDidStartSurface(const facebook::react::ShadowTree& shadowTree) = 0;
|
||||
public virtual void uiManagerDidUpdateShadowTree(const std::unordered_map<facebook::react::Tag, folly::dynamic>& tagToProps) = 0;
|
||||
public virtual void uiManagerShouldAddEventListener(std::shared_ptr<const facebook::react::EventListener> listener) = 0;
|
||||
public virtual void uiManagerShouldAddOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldRemoveEventListener(const std::shared_ptr<const facebook::react::EventListener>& listener) = 0;
|
||||
public virtual void uiManagerShouldSetOnSurfaceStartCallback(facebook::react::UIManagerDelegate::OnSurfaceStartCallback&& callback) = 0;
|
||||
public virtual void uiManagerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic& props) = 0;
|
||||
public virtual ~UIManagerDelegate() noexcept = default;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user