void ClientHandler::OnNavStateChange(CefRefPtr<CefBrowser> browser, bool canGoBack, bool canGoForward) { REQUIRE_UI_THREAD(); SetNavState(canGoBack, canGoForward); }
void ClientHandler::OnLoadingStateChange(CefRefPtr<CefBrowser> browser, bool isLoading, bool canGoBack, bool canGoForward) { REQUIRE_UI_THREAD(); //SetLoading(isLoading); // For overall browser load status. SetNavState(canGoBack, canGoForward); }
void ClientHandler::OnLoadingStateChange(CefRefPtr<CefBrowser> browser, bool isLoading, bool canGoBack, bool canGoForward) { CEF_REQUIRE_UI_THREAD(); SetLoading(isLoading); SetNavState(canGoBack, canGoForward); }
void ClientHandler::OnLoadingStateChange(CefRefPtr<CefBrowser> browser, bool isLoading, bool canGoBack, bool canGoForward) { CEF_REQUIRE_UI_THREAD(); SetLoading(isLoading); SetNavState(canGoBack, canGoForward); if (!isLoading) { // Continue the DOM test. if (browser->GetMainFrame()->GetURL() == dom_test::kTestUrl) dom_test::OnLoadEnd(browser); } }