/// <summary>Raises the <see cref="HistoryReload"/> event.</summary> /// <param name="e">The data for the event.</param> protected virtual void OnHistoryReload(GeckoHistoryEventArgs e) { var evnt = (EventHandler <GeckoHistoryEventArgs>)Events[HistoryReloadEvent]; if (evnt != null) { evnt(this, e); } }
/// <summary>Raises the <see cref="HistoryReload"/> event.</summary> /// <param name="e">The data for the event.</param> protected virtual void OnHistoryReload( GeckoHistoryEventArgs e ) { var evnt = ( EventHandler<GeckoHistoryEventArgs> ) Events[ HistoryReloadEvent ]; if ( evnt != null ) evnt( this, e ); }
bool nsISHistoryListener.OnHistoryReload(nsIURI aReloadURI, uint aReloadFlags) { GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aReloadURI.GetSpecAttribute))); OnHistoryReload(e); return !e.Cancel; }
bool nsISHistoryListener.OnHistoryGoForward(nsIURI aForwardURI) { GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aForwardURI.GetSpecAttribute))); OnHistoryGoForward(e); return !e.Cancel; }
/// <summary>Raises the <see cref="HistoryNewEntry"/> event.</summary> /// <param name="e">The data for the event.</param> protected virtual void OnHistoryNewEntry(GeckoHistoryEventArgs e) { var evnt = (EventHandler<GeckoHistoryEventArgs>)_eventList[HistoryNewEntryEvent]; if (evnt != null) evnt(this, e); }