mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-24 07:31:57 +00:00
modify for review
Signed-off-by: huanghuahua <huanghuahua5@h-partners.com>
This commit is contained in:
parent
fcda942ebd
commit
62949e4abd
@ -16,7 +16,8 @@
|
|||||||
#include "core/components_ng/manager/form_visible/form_visible_manager.h"
|
#include "core/components_ng/manager/form_visible/form_visible_manager.h"
|
||||||
|
|
||||||
namespace OHOS::Ace::NG {
|
namespace OHOS::Ace::NG {
|
||||||
void FormVisibleManager::AddFormVisibleChangeNode(const RefPtr<FrameNode>& node, const std::function<void(bool)>& callback)
|
void FormVisibleManager::AddFormVisibleChangeNode(const RefPtr<FrameNode>& node,
|
||||||
|
const std::function<void(bool)>& callback)
|
||||||
{
|
{
|
||||||
CHECK_NULL_VOID(node);
|
CHECK_NULL_VOID(node);
|
||||||
onFormVisibleChangeNodeIds_.emplace(node->GetId());
|
onFormVisibleChangeNodeIds_.emplace(node->GetId());
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#include "core/components_ng/base/frame_node.h"
|
#include "core/components_ng/base/frame_node.h"
|
||||||
|
|
||||||
namespace OHOS::Ace::NG {
|
namespace OHOS::Ace::NG {
|
||||||
|
|
||||||
|
|
||||||
class FormVisibleManager : public virtual AceType {
|
class FormVisibleManager : public virtual AceType {
|
||||||
DECLARE_ACE_TYPE(FormVisibleManager, AceType);
|
DECLARE_ACE_TYPE(FormVisibleManager, AceType);
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user