Beispiel #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]);
                }
            }
        }
Beispiel #4
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var e = (CfxOnLoadErrorEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId);

            value = RemoteProxy.Wrap(e.Frame);
        }
Beispiel #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));
        }
Beispiel #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));
 }
Beispiel #11
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxV8StackTrace)RemoteProxy.Unwrap(self);

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

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

            __retval = RemoteProxy.Wrap(self_local.GetFrame(name));
        }
Beispiel #15
0
 protected override void ExecuteInTargetProcess(RemoteConnection connection)
 {
     __retval = RemoteProxy.Wrap(CfxCommandLine.GetGlobal());
 }
        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));
 }
Beispiel #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));
        }
Beispiel #21
0
        protected override void ExecuteInTargetProcess(RemoteConnection connection)
        {
            var self_local = (CfxFrame)RemoteProxy.Unwrap(self);

            __retval = RemoteProxy.Wrap(self_local.V8Context);
        }
Beispiel #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);
        }
Beispiel #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());
 }