Home
last modified time | relevance | path

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

/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window_listener.h107 void OnSubWindowClose(bool& terminateCloseProcess) override;
108 void OnMainWindowClose(bool& terminateCloseProcess) override;
H A Djs_window_listener.cpp557 void JsWindowListener::OnSubWindowClose(bool& terminateCloseProcess) in OnSubWindowClose() argument
559 auto jsCallback = [self = weakRef_, &terminateCloseProcess, env = env_] () mutable { in OnSubWindowClose()
568 bool value = terminateCloseProcess; in OnSubWindowClose()
571 terminateCloseProcess = value; in OnSubWindowClose()
584 void JsWindowListener::OnMainWindowClose(bool& terminateCloseProcess) in OnMainWindowClose() argument
586 auto jsCallback = [self = weakRef_, &terminateCloseProcess, env = env_]() mutable { in OnMainWindowClose()
595 bool value = terminateCloseProcess; in OnMainWindowClose()
598 terminateCloseProcess = value; in OnMainWindowClose()
/foundation/window/window_manager/wm/include/
H A Dwindow_session_impl.h316 void NotifySubWindowClose(bool& terminateCloseProcess);
317 WMError NotifyMainWindowClose(bool& terminateCloseProcess);
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test4.cpp1351 bool terminateCloseProcess = false; in HWTEST_F() local
1352 WMError res = window->NotifyMainWindowClose(terminateCloseProcess); in HWTEST_F()
1353 EXPECT_EQ(terminateCloseProcess, false); in HWTEST_F()
1357 res = window->NotifyMainWindowClose(terminateCloseProcess); in HWTEST_F()
1358 EXPECT_EQ(terminateCloseProcess, false); in HWTEST_F()
H A Dwindow_session_impl_test.cpp1875 bool terminateCloseProcess = false; in HWTEST_F() local
1876 window->NotifySubWindowClose(terminateCloseProcess); in HWTEST_F()
1877 ASSERT_EQ(terminateCloseProcess, false); in HWTEST_F()
H A Dwindow_session_impl_test2.cpp1477 void OnSubWindowClose(bool& terminateCloseProcess) {} in HWTEST_F() argument
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow.h459 * @param terminateCloseProcess Whather need to terminate the subwindow close process.
461 virtual void OnSubWindowClose(bool& terminateCloseProcess) {} in OnSubWindowClose() argument
474 * @param terminateCloseProcess Whether need to terminate the main window close process.
476 virtual void OnMainWindowClose(bool& terminateCloseProcess) {} in OnMainWindowClose() argument
/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp2453 bool terminateCloseProcess = false; in MainWindowCloseInner() local
2454 WMError res = NotifyMainWindowClose(terminateCloseProcess); in MainWindowCloseInner()
2456 if (!terminateCloseProcess) { in MainWindowCloseInner()
2494 bool terminateCloseProcess = false; in Close() local
2495 NotifySubWindowClose(terminateCloseProcess); in Close()
2496 if (!terminateCloseProcess || isDialogWindow) { in Close()
H A Dwindow_session_impl.cpp2988 void WindowSessionImpl::NotifySubWindowClose(bool& terminateCloseProcess) in NotifySubWindowClose() argument
2994 subWindowCloseListeners->OnSubWindowClose(terminateCloseProcess); in NotifySubWindowClose()
2998 WMError WindowSessionImpl::NotifyMainWindowClose(bool& terminateCloseProcess) in NotifyMainWindowClose() argument
3003 mainWindowCloseListener->OnMainWindowClose(terminateCloseProcess); in NotifyMainWindowClose()

Completed in 30 milliseconds