Hi everybody.
I provided my own cefclient implementation which implements CefFocusHandler.
I expect that everytime I click out of the browser CefFocusHandler::OnTakeFocus would be called and when i click back into the browser, CefFocusHandler::OnSetFocus would be called. But it turned out now the case.
first time I clicked in the browser OnSetFocus is called, click out, OnTakeFocus is NOT called and when i clicked back OnSetFocus is not called, instead OnGotFocus is called. Anyone could explain this wierd behavior??
I tried BrowserHost::SetFocus(false) as well, it seems that BroswerHost::SetFocus simple returns if i pass in false as parameter and not doing anything. Is this a bug???? Should not it make the browser loose the focus so that when i click back again OnSetFocus would be called??
thanks