Ejemplo n.º 1
0
 /// <summary>
 /// The OnAddressChange.
 /// </summary>
 /// <param name="browser">The browser<see cref="CefBrowser"/>.</param>
 /// <param name="frame">The frame<see cref="CefFrame"/>.</param>
 /// <param name="url">The url<see cref="string"/>.</param>
 protected override void OnAddressChange(CefBrowser browser, CefFrame frame, string url)
 {
     if (frame.IsMain)
     {
         _core.InvokeIfRequired(() => _core.OnAddressChanged(new AddressChangedEventArgs(frame, url)));
     }
 }
Ejemplo n.º 2
0
 protected override void OnPluginCrashed(CefBrowser browser, string pluginPath)
 {
     _core.InvokeIfRequired(() => _core.OnPluginCrashed(new PluginCrashedEventArgs(pluginPath)));
 }
Ejemplo n.º 3
0
 protected override void OnLoadEnd(CefBrowser browser, CefFrame frame, int httpStatusCode)
 {
     _core.InvokeIfRequired(() => _core.OnLoadEnd(new LoadEndEventArgs(frame, httpStatusCode)));
 }