Ejemplo n.º 1
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 767

        // gen! void Continue(int command_id,EventFlags event_flags)
        /// <summary>
        /// CefRunContextMenuCallback methods.
        /// </summary>

        public void Continue(int command_id,
                             cef_event_flags_t event_flags)
        {
            JsValue v1 = new JsValue();
            JsValue v2 = new JsValue();
            JsValue ret;

            v1.I32 = (int)command_id;
            v2.I32 = (int)event_flags;

            Cef3Binder.MyCefMet_Call2(this.nativePtr, CefRunContextMenuCallback_Continue_1, out ret, ref v1, ref v2);
        }
Ejemplo n.º 2
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 784

        // gen! void Continue(bool success,const CefString& user_input)
        /// <summary>
        /// CefJSDialogCallback methods.
        /// </summary>

        public void Continue(bool success,
                             string user_input)
        {
            JsValue v1 = new JsValue();
            JsValue v2 = new JsValue();
            JsValue ret;

            v2.Ptr = Cef3Binder.MyCefCreateStringHolder(user_input);
            v1.I32 = success ? 1 : 0;

            Cef3Binder.MyCefMet_Call2(this.nativePtr, CefJSDialogCallback_Continue_1, out ret, ref v1, ref v2);
            Cef3Binder.MyCefDeletePtr(v2.Ptr);
        }
Ejemplo n.º 3
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 775

        // gen! void Continue(const CefString& download_path,bool show_dialog)
        /// <summary>
        /// CefBeforeDownloadCallback methods.
        /// </summary>

        public void Continue(string download_path,
                             bool show_dialog)
        {
            JsValue v1 = new JsValue();
            JsValue v2 = new JsValue();
            JsValue ret;

            v1.Ptr = Cef3Binder.MyCefCreateStringHolder(download_path);
            v2.I32 = show_dialog ? 1 : 0;

            Cef3Binder.MyCefMet_Call2(this.nativePtr, CefBeforeDownloadCallback_Continue_1, out ret, ref v1, ref v2);
            Cef3Binder.MyCefDeletePtr(v1.Ptr);
        }
Ejemplo n.º 4
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);
        }
Ejemplo n.º 5
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 757

        // gen! void Continue(const CefString& username,const CefString& password)
        /// <summary>
        /// CefAuthCallback methods.
        /// </summary>

        public void Continue(string username,
                             string password)
        {
            JsValue v1 = new JsValue();
            JsValue v2 = new JsValue();
            JsValue ret;

            v1.Ptr = Cef3Binder.MyCefCreateStringHolder(username);
            v2.Ptr = Cef3Binder.MyCefCreateStringHolder(password);

            Cef3Binder.MyCefMet_Call2(this.nativePtr, CefAuthCallback_Continue_1, out ret, ref v1, ref v2);
            Cef3Binder.MyCefDeletePtr(v1.Ptr);
            Cef3Binder.MyCefDeletePtr(v2.Ptr);
        }
Ejemplo n.º 6
0
 public static CefV8ValueList NewList()
 {
     return(new CefV8ValueList(Cef3Binder.CreateStdList(4)));
 }
Ejemplo n.º 7
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 793

        // gen! void Cancel()

        public void Cancel()
        {
            JsValue ret;

            Cef3Binder.MyCefMet_Call0(this.nativePtr, CefRequestCallback_Cancel_2, out ret);
        }
Ejemplo n.º 8
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 789

        // gen! void Continue()
        /// <summary>
        /// CefPrintJobCallback methods.
        /// </summary>

        public void Continue()
        {
            JsValue ret;

            Cef3Binder.MyCefMet_Call0(this.nativePtr, CefPrintJobCallback_Continue_1, out ret);
        }
Ejemplo n.º 9
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 787

        // gen! void Cancel()

        public void Cancel()
        {
            JsValue ret;

            Cef3Binder.MyCefMet_Call0(this.nativePtr, CefPrintDialogCallback_Cancel_2, out ret);
        }
Ejemplo n.º 10
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 779

        // gen! void Resume()

        public void Resume()
        {
            JsValue ret;

            Cef3Binder.MyCefMet_Call0(this.nativePtr, CefDownloadItemCallback_Resume_3, out ret);
        }
Ejemplo n.º 11
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 778

        // gen! void Pause()

        public void Pause()
        {
            JsValue ret;

            Cef3Binder.MyCefMet_Call0(this.nativePtr, CefDownloadItemCallback_Pause_2, out ret);
        }
Ejemplo n.º 12
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 777

        // gen! void Cancel()
        /// <summary>
        /// CefDownloadItemCallback methods.
        /// </summary>

        public void Cancel()
        {
            JsValue ret;

            Cef3Binder.MyCefMet_Call0(this.nativePtr, CefDownloadItemCallback_Cancel_1, out ret);
        }
Ejemplo n.º 13
0
        //CsCallToNativeCodeGen::GenerateCsMethod , 768

        // gen! void Cancel()

        public void Cancel()
        {
            JsValue ret;

            Cef3Binder.MyCefMet_Call0(this.nativePtr, CefRunContextMenuCallback_Cancel_2, out ret);
        }