コード例 #1
0
ファイル: CfrFrame.cs プロジェクト: 386845154a/NanUI-1
        /// <summary>
        /// Load the contents of |stringVal| with the specified dummy |url|. |url|
        /// should have a standard scheme (for example, http scheme) or behaviors like
        /// link clicks and web security restrictions may not behave as expected.
        /// </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 LoadString(string stringVal, string url)
        {
            var call = new CfxFrameLoadStringRenderProcessCall();

            call.self      = CfrObject.Unwrap(this);
            call.stringVal = stringVal;
            call.url       = url;
            call.RequestExecution(this);
        }
コード例 #2
0
        /// <summary>
        /// Load the contents of |stringVal| with the specified dummy |url|. |url|
        /// should have a standard scheme (for example, http scheme) or behaviors like
        /// link clicks and web security restrictions may not behave as expected.
        /// </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 LoadString(string stringVal, string url)
        {
            var call = new CfxFrameLoadStringRenderProcessCall();

            call.@this     = proxyId;
            call.stringVal = stringVal;
            call.url       = url;
            call.RequestExecution(this);
        }