In CEF 1 cefclient there is no indication of website being loaded, the mouse
cursor does not change in any way, this is a problem when there is lag, as I
see a white page for a long period of time and this is bad user experience,
I'm not sure whether application hanged up or what.
In CEF 3 cefclient it works fine, mouse cursor is changing while website is loading,
but I'm not sure how it got implemented, when I search cefclient sources for
"isLoading" I only find ClientHandler::SetLoading() in "client_handler_win.cpp":
- Code: Select all
void ClientHandler::SetLoading(bool isLoading) {
ASSERT(m_EditHwnd != NULL && m_ReloadHwnd != NULL && m_StopHwnd != NULL);
EnableWindow(m_EditHwnd, TRUE);
EnableWindow(m_ReloadHwnd, !isLoading);
EnableWindow(m_StopHwnd, isLoading);
}
This code does not change cursor in any way, it only affects the state of browser
buttons. Is this internally implemented in libcef? Can we have a similar
functionality in CEF 1?
Czarek.