Esempio n. 1
0
        internal DocumentTitleChangedEventArgs(ICoreWebView2 webview)
        {
            string title;

            webview.DocumentTitle(out title);
            Title = title;
        }
        public void Invoke(ICoreWebView2 webview, ICoreWebView2NavigationCompletedEventArgs args)
        {
            NavigationCompletedEventArgs completedArgs = new NavigationCompletedEventArgs(args);

            _callback(completedArgs);
        }
        public void Invoke([In, MarshalAs(UnmanagedType.Interface)] ICoreWebView2 webview, [In, MarshalAs(UnmanagedType.Interface)] object args)
        {
            WindowCloseRequestedEventArgs completedArgs = new WindowCloseRequestedEventArgs();

            Callback(completedArgs);
        }
Esempio n. 4
0
        public void Invoke(ICoreWebView2 webview, ICoreWebView2PermissionRequestedEventArgs args)
        {
            PermissionRequestedEventArgs eventArgs = new PermissionRequestedEventArgs(args);

            Callback.Invoke(eventArgs);
        }
        public void Invoke(ICoreWebView2 webview, ICoreWebView2SourceChangedEventArgs args)
        {
            SourceChangedEventArgs completedArgs = new SourceChangedEventArgs(args);

            Callback(completedArgs);
        }
        public void Invoke(ICoreWebView2 webview, object args)
        {
            HistoryChangedEventArgs completedArgs = new HistoryChangedEventArgs();

            Callback(completedArgs);
        }
Esempio n. 7
0
        public void Invoke(ICoreWebView2 webview, ICoreWebView2ProcessFailedEventArgs args)
        {
            ProcessFailedEventArgs eventArgs = new ProcessFailedEventArgs(args);

            Callback.Invoke(eventArgs);
        }
Esempio n. 8
0
        public void Invoke(ICoreWebView2 webview, ICoreWebView2ContentLoadingEventArgs args)
        {
            ContentLoadingEventArgs completedArgs = new ContentLoadingEventArgs(args);

            Callback(completedArgs);
        }
Esempio n. 9
0
        public void Invoke(ICoreWebView2 webview, ICoreWebView2NewWindowRequestedEventArgs args)
        {
            NewWindowRequestedEventArgs eventArgs = new NewWindowRequestedEventArgs(args);

            Callback.Invoke(eventArgs);
        }
        //public void Invoke(IWebView2WebView webview, IWebView2WebResourceRequestedEventArgs args)
        public void Invoke(ICoreWebView2 webview, ICoreWebView2WebResourceRequestedEventArgs args)
        {
            WebResourceRequestedEventArgs eventArgs = new WebResourceRequestedEventArgs(args);

            Callback.Invoke(eventArgs);
        }
        public void Invoke(ICoreWebView2 webview, ICoreWebView2DevToolsProtocolEventReceivedEventArgs args)
        {
            DevToolsProtocolEventReceivedEventArgs eventArgs = new DevToolsProtocolEventReceivedEventArgs(_eventName, args);

            Callback.Invoke(eventArgs);
        }
        public void Invoke(ICoreWebView2 webview, object args)
        {
            DocumentTitleChangedEventArgs completedArgs = new DocumentTitleChangedEventArgs(webview);

            Callback(completedArgs);
        }
Esempio n. 13
0
        public void Invoke(ICoreWebView2 webview, object args)
        {
            ContainsFullScreenElementChangedEventArgs eventArgs = new ContainsFullScreenElementChangedEventArgs();

            Callback(eventArgs);
        }
        public void Invoke(ICoreWebView2 webview, ICoreWebView2WebMessageReceivedEventArgs args)
        {
            WebMessageReceivedEventArgs eventArgs = new WebMessageReceivedEventArgs(args);

            _callback.Invoke(eventArgs);
        }
        public void Invoke(ICoreWebView2 webview, ICoreWebView2ScriptDialogOpeningEventArgs args)
        {
            ScriptDialogOpeningEventArgs eventArgs = new ScriptDialogOpeningEventArgs(args);

            Callback.Invoke(eventArgs);
        }