Esempio n. 1
0
        /// <summary>
        /// Returns the document element with the specified ID value.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_dom_capi.h">cef/include/capi/cef_dom_capi.h</see>.
        /// </remarks>
        public CfrDomNode GetElementById(string id)
        {
            var call = new CfxDomDocumentGetElementByIdRemoteCall();

            call.@this = RemotePtr.ptr;
            call.id    = id;
            call.RequestExecution(RemotePtr.connection);
            return(CfrDomNode.Wrap(new RemotePtr(call.__retval)));
        }
Esempio n. 2
0
        /// <summary>
        /// Returns the document element with the specified ID value.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_dom_capi.h">cef/include/capi/cef_dom_capi.h</see>.
        /// </remarks>
        public CfrDomNode GetElementById(string id)
        {
            var call = new CfxDomDocumentGetElementByIdRenderProcessCall();

            call.@this = proxyId;
            call.id    = id;
            call.RequestExecution(this);
            return(CfrDomNode.Wrap(call.__retval));
        }