/// <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); }
bool nsISHistoryListener.OnHistoryGoForward(nsIURI aForwardURI) { GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aForwardURI.GetSpec))); OnHistoryGoForward(e); return !e.Cancel; }
bool nsISHistoryListener.OnHistoryReload(nsIURI aReloadURI, uint aReloadFlags) { GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aReloadURI.GetSpec))); OnHistoryReload(e); return !e.Cancel; }
bool nsISHistoryListener.OnHistoryGoBack(nsIURI aBackURI) { GeckoHistoryEventArgs e = new GeckoHistoryEventArgs(new Uri(nsString.Get(aBackURI.GetSpecAttribute))); OnHistoryGoBack(e); return !e.Cancel; }