mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
42c1957aff
Summary: Fixed some typos in the comment. ## Changelog [Internal] [Fixed] - Fixed typo in the comments Pull Request resolved: https://github.com/facebook/react-native/pull/28269 Test Plan: Changes are only made in the comments, so test is not necessary. Reviewed By: cpojer Differential Revision: D20342637 Pulled By: shergin fbshipit-source-id: f6e7dd538ee54c43e1570c35e1f8c4502054e328
34 lines
736 B
C++
34 lines
736 B
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/mounting/MountingCoordinator.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class ShadowTree;
|
|
|
|
/*
|
|
* Abstract class for ShadowTree's delegate.
|
|
*/
|
|
class ShadowTreeDelegate {
|
|
public:
|
|
/*
|
|
* Called right after Shadow Tree commit a new state of the tree.
|
|
*/
|
|
virtual void shadowTreeDidFinishTransaction(
|
|
ShadowTree const &shadowTree,
|
|
MountingCoordinator::Shared const &mountingCoordinator) const = 0;
|
|
|
|
virtual ~ShadowTreeDelegate() noexcept = default;
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|