Exemple #1
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 empty for
 /// the browser process. Do not keep a reference to the CefCommandLine object
 /// passed to this method. The CefSettings.command_line_args_disabled value
 /// can be used to start with an empty command-line object. Any values
 /// specified in CefSettings that equate to command-line arguments will be set
 /// before this method is called. Be cautious when using this method to modify
 /// command-line arguments for non-browser processes as this may result in
 /// undefined behavior including crashes.
 /// </summary>
 protected virtual void OnBeforeCommandLineProcessing(string processType, CefCommandLine commandLine)
 {
 }
Exemple #2
0
 /// <summary>
 /// Create a new CefCommandLine instance.
 /// </summary>
 public static CefCommandLine Create()
 {
     return(CefCommandLine.FromNative(cef_command_line_t.create()));
 }
Exemple #3
0
 /// <summary>
 /// Returns a writable copy of this object.
 /// </summary>
 public CefCommandLine Copy()
 {
     return(CefCommandLine.FromNative(cef_command_line_t.copy(_self)));
 }
Exemple #4
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 method.
 /// </summary>
 protected virtual void OnBeforeChildProcessLaunch(CefCommandLine commandLine)
 {
 }