/// <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);
            }
        }
Ejemplo n.º 2
0
		/// <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 );
		}
Ejemplo n.º 3
0
		bool nsISHistoryListener.OnHistoryReload(nsIURI aReloadURI, uint aReloadFlags)
		{
			GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aReloadURI.GetSpecAttribute)));
			OnHistoryReload(e);
			return !e.Cancel;
		}
Ejemplo n.º 4
0
		bool nsISHistoryListener.OnHistoryGoForward(nsIURI aForwardURI)
		{
			GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aForwardURI.GetSpecAttribute)));
			OnHistoryGoForward(e);
			return !e.Cancel;
		}
Ejemplo n.º 5
0
 /// <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);
 }