Esempio n. 1
0
        /// <summary>
        /// Returns the entered (bottom) context object in the V8 context stack.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_v8_capi.h">cef/include/capi/cef_v8_capi.h</see>.
        /// </remarks>
        public static CfrV8Context GetEnteredContext()
        {
            var call = new CfxV8ContextGetEnteredContextRenderProcessCall();

            call.RequestExecution(CfxRemoteCallContext.CurrentContext.connection);
            return(CfrV8Context.Wrap(call.__retval));
        }
Esempio n. 2
0
        /// <summary>
        /// Returns the entered (bottom) context object in the V8 context stack.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_v8_capi.h">cef/include/capi/cef_v8_capi.h</see>.
        /// </remarks>
        public static CfrV8Context GetEnteredContext()
        {
            var call = new CfxV8ContextGetEnteredContextRemoteCall();

            call.RequestExecution();
            return(CfrV8Context.Wrap(new RemotePtr(call.__retval)));
        }
Esempio n. 3
0
        /// <summary>
        /// Returns the entered (bottom) context object in the V8 context stack.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_v8_capi.h">cef/include/capi/cef_v8_capi.h</see>.
        /// </remarks>
        public static CfrV8Context GetEnteredContext()
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxV8ContextGetEnteredContextRemoteCall();

            call.RequestExecution(connection);
            return(CfrV8Context.Wrap(new RemotePtr(connection, call.__retval)));
        }