private void handle_event(cef_domevent_listener_t *self, cef_domevent_t * @event) { CheckSelf(self); var m_event = CefDomEvent.FromNative(@event); HandleEvent(m_event); m_event.Dispose(); }
protected override void HandleEvent(CefDomEvent @event) { _listener(); }
/// <summary> /// Called when an event is received. The event object passed to this method /// contains a snapshot of the DOM at the time this method is executed. DOM /// objects are only valid for the scope of this method. Do not keep references /// to or attempt to access any DOM objects outside the scope of this method. /// </summary> protected abstract void HandleEvent(CefDomEvent @event);