Home
last modified time | relevance | path

Searched refs:terminateCloseProcess (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window_listener.cpp556 void JsWindowListener::OnSubWindowClose(bool& terminateCloseProcess) in OnSubWindowClose() argument
558 auto jsCallback = [self = weakRef_, &terminateCloseProcess, env = env_] () mutable { in OnSubWindowClose()
567 bool value = terminateCloseProcess; in OnSubWindowClose()
570 terminateCloseProcess = value; in OnSubWindowClose()
583 void JsWindowListener::OnMainWindowClose(bool& terminateCloseProcess) in OnMainWindowClose() argument
585 auto jsCallback = [self = weakRef_, &terminateCloseProcess, env = env_]() mutable { in OnMainWindowClose()
593 bool value = terminateCloseProcess; in OnMainWindowClose()
596 terminateCloseProcess = value; in OnMainWindowClose()
H A Djs_window_listener.h110 void OnSubWindowClose(bool& terminateCloseProcess) override;
111 void OnMainWindowClose(bool& terminateCloseProcess) override;
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test4.cpp1271 bool terminateCloseProcess = false; variable
1272 WMError res = window->NotifyMainWindowClose(terminateCloseProcess);
1273 EXPECT_EQ(terminateCloseProcess, false);
1277 res = window->NotifyMainWindowClose(terminateCloseProcess);
1278 EXPECT_EQ(terminateCloseProcess, false);
H A Dwindow_session_impl_test.cpp1788 bool terminateCloseProcess = false; variable
1789 window->NotifySubWindowClose(terminateCloseProcess);
1790 ASSERT_EQ(terminateCloseProcess, false);
H A Dwindow_session_impl_two_test.cpp1113 void OnSubWindowClose(bool &terminateCloseProcess) {} in OnSubWindowClose() argument
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dwindow_session_impl.h320 void NotifySubWindowClose(bool& terminateCloseProcess);
321 WMError NotifyMainWindowClose(bool& terminateCloseProcess);
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow.h475 virtual void OnSubWindowClose(bool& terminateCloseProcess) {} in OnSubWindowClose() argument
490 virtual void OnMainWindowClose(bool& terminateCloseProcess) {} in OnMainWindowClose() argument
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp2561 bool terminateCloseProcess = false; in MainWindowCloseInner() local
2562 WMError res = NotifyMainWindowClose(terminateCloseProcess); in MainWindowCloseInner()
2564 if (!terminateCloseProcess) { in MainWindowCloseInner()
2630 bool terminateCloseProcess = false; in Close() local
2631 NotifySubWindowClose(terminateCloseProcess); in Close()
2632 if (!terminateCloseProcess || isDialogWindow) { in Close()
H A Dwindow_session_impl.cpp3112 void WindowSessionImpl::NotifySubWindowClose(bool& terminateCloseProcess) in NotifySubWindowClose() argument
3118 subWindowCloseListeners->OnSubWindowClose(terminateCloseProcess); in NotifySubWindowClose()
3122 WMError WindowSessionImpl::NotifyMainWindowClose(bool& terminateCloseProcess) in NotifyMainWindowClose() argument
3127 mainWindowCloseListener->OnMainWindowClose(terminateCloseProcess); in NotifyMainWindowClose()