Provides data for the GeckoHistoryEventHandler event.
Inheritance: System.EventArgs
コード例 #1
0
 /// <summary>Raises the <see cref="HistoryReload"/> event.</summary>
 /// <param name="e">The data for the event.</param>
 protected virtual void OnHistoryReload(GeckoHistoryEventArgs e)
 {
     if (((GeckoHistoryEventHandler)this.Events[HistoryReloadEvent]) != null)
         ((GeckoHistoryEventHandler)this.Events[HistoryReloadEvent])(this, e);
 }
コード例 #2
0
 bool nsISHistoryListener.OnHistoryGoForward(nsIURI aForwardURI)
 {
     GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aForwardURI.GetSpec)));
     OnHistoryGoForward(e);
     return !e.Cancel;
 }
コード例 #3
0
 bool nsISHistoryListener.OnHistoryReload(nsIURI aReloadURI, uint aReloadFlags)
 {
     GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aReloadURI.GetSpec)));
     OnHistoryReload(e);
     return !e.Cancel;
 }
コード例 #4
0
 bool nsISHistoryListener.OnHistoryGoBack(nsIURI aBackURI)
 {
     GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aBackURI.GetSpecAttribute)));
     OnHistoryGoBack(e);
     return !e.Cancel;
 }