/// <summary> /// Load the request represented by the |request| object. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_frame_capi.h">cef/include/capi/cef_frame_capi.h</see>. /// </remarks> public void LoadRequest(CfrRequest request) { var call = new CfxFrameLoadRequestRemoteCall(); call.@this = RemotePtr.ptr; call.request = CfrObject.Unwrap(request).ptr; call.RequestExecution(RemotePtr.connection); }
/// <summary> /// Load the request represented by the |request| object. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_frame_capi.h">cef/include/capi/cef_frame_capi.h</see>. /// </remarks> public void LoadRequest(CfrRequest request) { var connection = RemotePtr.connection; var call = new CfxFrameLoadRequestRemoteCall(); call.@this = RemotePtr.ptr; if (!CfrObject.CheckConnection(request, connection)) { throw new ArgumentException("Render process connection mismatch.", "request"); } call.request = CfrObject.Unwrap(request).ptr; call.RequestExecution(connection); }