示例#1
0
        internal bool OnNavigating(CefFrame frame, CefRequest request, CefHandlerNavType navType, bool isRedirect)
        {
            var handler = this.Navigating;

            if (handler != null)
            {
                var e = new CefNavigatingEventArgs(frame, request, navType, isRedirect);
                handler(this.owner, e);
                return(e.Cancel);
            }
            return(false);
        }
示例#2
0
 private void browser_Navigating(object sender, CefNavigatingEventArgs e)
 {
     Write("Navigating", "TargetFrameName=[{0}] Url=[{1}]", e.Frame.GetName(), e.Request.GetURL());
 }
 internal bool OnNavigating(CefFrame frame, CefRequest request, CefHandlerNavType navType, bool isRedirect)
 {
     var handler = this.Navigating;
     if (handler != null)
     {
         var e = new CefNavigatingEventArgs(frame, request, navType, isRedirect);
         handler(this.owner, e);
         return e.Cancel;
     }
     return false;
 }