Exemple #1
0
        internal WebView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
        {
            pageLoadStartedSignal   = new WebViewPageLoadSignal(Interop.WebView.NewWebViewPageLoadSignalPageLoadStarted(SwigCPtr));
            pageLoadFinishedSignal  = new WebViewPageLoadSignal(Interop.WebView.NewWebViewPageLoadSignalPageLoadFinished(SwigCPtr));
            pageLoadErrorSignal     = new WebViewPageLoadErrorSignal(Interop.WebView.NewWebViewPageLoadErrorSignalPageLoadError(SwigCPtr));
            scrollEdgeReachedSignal = new WebViewScrollEdgeReachedSignal(Interop.WebView.NewWebViewScrollEdgeReachedSignalScrollEdgeReached(SwigCPtr));

            BackForwardList = new WebBackForwardList(Interop.WebView.GetWebBackForwardList(SwigCPtr), false);
            Context         = new WebContext(Interop.WebView.GetWebContext(SwigCPtr), false);
            CookieManager   = new WebCookieManager(Interop.WebView.GetWebCookieManager(SwigCPtr), false);
            Settings        = new WebSettings(Interop.WebView.GetWebSettings(SwigCPtr), false);
        }
Exemple #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WebBackForwardList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr);
 }