/// <summary>
 /// Called before a child process is launched. Will be called on the browser
 /// process UI thread when launching a render process and on the browser
 /// process IO thread when launching a GPU or plugin process. Provides an
 /// opportunity to modify the child process command line. Do not keep a
 /// reference to |command_line| outside of this function.
 /// </summary>
 public unsafe virtual void OnBeforeChildProcessLaunch(CefCommandLine commandLine)
 {
 }
Example #2
0
 /// <summary>
 /// Called before a child process is launched. Will be called on the browser
 /// process UI thread when launching a render process and on the browser
 /// process IO thread when launching a GPU or plugin process. Provides an
 /// opportunity to modify the child process command line. Do not keep a
 /// reference to |command_line| outside of this function.
 /// </summary>
 protected internal unsafe virtual void OnBeforeChildProcessLaunch(CefCommandLine commandLine)
 {
 }
Example #3
0
 /// <summary>
 /// Provides an opportunity to view and/or modify command-line arguments before
 /// processing by CEF and Chromium. The |process_type| value will be NULL for
 /// the browser process. Do not keep a reference to the cef_command_line_t
 /// object passed to this function. The CefSettings.command_line_args_disabled
 /// value can be used to start with an NULL command-line object. Any values
 /// specified in CefSettings that equate to command-line arguments will be set
 /// before this function is called. Be cautious when using this function to
 /// modify command-line arguments for non-browser processes as this may result
 /// in undefined behavior including crashes.
 /// </summary>
 protected internal unsafe virtual void OnBeforeCommandLineProcessing(string processType, CefCommandLine commandLine)
 {
 }
Example #4
0
 /// <summary>
 /// Provides an opportunity to view and/or modify command-line arguments before
 /// processing by CEF and Chromium. The |process_type| value will be NULL for
 /// the browser process. Do not keep a reference to the cef_command_line_t
 /// object passed to this function. The CefSettings.command_line_args_disabled
 /// value can be used to start with an NULL command-line object. Any values
 /// specified in CefSettings that equate to command-line arguments will be set
 /// before this function is called. Be cautious when using this function to
 /// modify command-line arguments for non-browser processes as this may result
 /// in undefined behavior including crashes.
 /// </summary>
 public unsafe virtual void OnBeforeCommandLineProcessing(string processType, CefCommandLine commandLine)
 {
 }
Example #5
0
 /// <summary>
 /// Returns a writable copy of this object.
 /// </summary>
 public unsafe virtual CefCommandLine Copy()
 {
     return(SafeCall(CefCommandLine.Wrap(CefCommandLine.Create, NativeInstance->Copy())));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BeforeChildProcessLaunchEventArgs"/> class.
 /// </summary>
 /// <param name="commandLine">The command line.</param>
 public BeforeChildProcessLaunchEventArgs(CefCommandLine commandLine)
 {
     this.CommandLine = commandLine;
 }