magreenblatt wrote:CEF listens for the NOTIFICATION_FOCUS_CHANGED_IN_PAGE notification but it's not used inside Chromium outside of the unit tests (CEF != Chromium). Given the very limited use of this notification inside Chromium there's a reasonable chance that it will disappear in the future and CEF will then need to use the same OnFocusedNodeChanged approach internally.
Right, I understand CEF != Chromium, of course. I wasn't aware NOTIFICATION_FOCUS_CHANGED_IN_PAGE was a Chromium notification that you just piggy-backed on (I'm not familiar with the internals at all). From the brief look I had earlier, it just looked like you (CEF) was already using NOTIFICATION_FOCUS_CHANGED_IN_PAGE to set focus_on_editable_field_, which I assumed was what you used when when firing CefKeyboardHandler::OnKeyEvent.