コード例 #1
0
        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();
        }
コード例 #2
0
 protected override void HandleEvent(CefDomEvent @event)
 {
     _listener();
 }
コード例 #3
0
 /// <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);
コード例 #4
0
 /// <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);