示例#1
0
 internal static void EventCall(object sender, CfxV8AccessorGetEventArgs e)
 {
     var call = new CfxV8AccessorGetBrowserProcessCall();
     call.sender = RemoteProxy.Wrap((CfxBase)sender);
     call.eventArgsId = AddEventArgs(e);
     call.RequestExecution(RemoteClient.connection);
     RemoveEventArgs(call.eventArgsId);
 }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            CfxV8Value     retval_local;
            CfxV8Exception exception_local;
            var            self_local = (CfxV8Context)RemoteProxy.Unwrap(self);

            __retval  = self_local.Eval(code, out retval_local, out exception_local);
            retval    = RemoteProxy.Wrap(retval_local);
            exception = RemoteProxy.Wrap(exception_local);
        }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var elements = ((CfxPostData)RemoteProxy.Unwrap(self)).Elements;

            if (elements != null)
            {
                __retval = new IntPtr[elements.Length];
                for (int i = 0; i < elements.Length; ++i)
                {
                    __retval[i] = RemoteProxy.Wrap(elements[i]);
                }
            }
        }
示例#4
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var e = (CfxOnLoadErrorEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId);

            value = RemoteProxy.Wrap(e.Frame);
        }
示例#5
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxCommandLine)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.Copy());
        }
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxV8Context.GetEnteredContext());
 }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxDictionaryValue)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.GetDictionary(key));
        }
示例#8
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxListValue)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.GetList(index));
        }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxProcessMessage)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.ArgumentList);
        }
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxBinaryValue.Create(data, dataSize));
 }
示例#11
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxV8StackTrace)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.GetFrame(index));
        }
示例#12
0
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxV8StackTrace.GetCurrent(frameLimit));
 }
示例#13
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxDomNode)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.LastChild);
        }
示例#14
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxBrowser)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.GetFrame(name));
        }
示例#15
0
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxCommandLine.GetGlobal());
 }
示例#16
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxDomDocument)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.FocusedNode);
        }
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxProcessMessage.Create(name));
 }
示例#18
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxRequest)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.PostData);
        }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var e = (CfxDomVisitorVisitEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId);

            value = RemoteProxy.Wrap(e.Document);
        }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxDictionaryValue)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.Copy(excludeEmptyChildren));
        }
示例#21
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxFrame)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.V8Context);
        }
示例#22
0
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxListValue.Create());
 }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var e = (CfxOnRegisterCustomSchemesEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId);

            value = RemoteProxy.Wrap(e.Registrar);
        }
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(new CfxResourceBundleHandler());
 }
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxTaskRunner.GetForThread((CfxThreadId)threadId));
 }
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var e = (CfxOnBeforeCommandLineProcessingEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId);

            value = RemoteProxy.Wrap(e.CommandLine);
        }
示例#27
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var e = (CfxV8HandlerExecuteEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId);

            value = RemoteProxy.Wrap(e.Object);
        }
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(new CfxApp());
 }
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxPostDataElement.Create());
 }