Example #1
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 772

        // gen! void Continue(int selected_accept_filter,const std::vector<CefString>& file_paths)
        /// <summary>
        /// CefFileDialogCallback methods.
        /// </summary>

        public void Continue(int selected_accept_filter,
                             List <string> file_paths)
        {
            JsValue v1 = new JsValue();
            JsValue v2 = new JsValue();
            JsValue ret;

            v1.I32 = (int)selected_accept_filter;
            v2.Ptr = Cef3Binder.CreateStdList(2);

            Cef3Binder.MyCefMet_Call2(this.nativePtr, CefFileDialogCallback_Continue_1, out ret, ref v1, ref v2);
            Cef3Binder.CopyStdStringListAndDestroyNativeSide(v2.Ptr, file_paths);
        }
Example #2
0
 public static CefV8ValueList NewList()
 {
     return(new CefV8ValueList(Cef3Binder.CreateStdList(4)));
 }