Exemple #1
0
        private void on_before_command_line_processing(cef_app_t *self, cef_string_t *process_type, cef_command_line_t *command_line)
        {
            CheckSelf(self);

            var processType   = cef_string_t.ToString(process_type);
            var m_commandLine = CefCommandLine.FromNative(command_line);

            OnBeforeCommandLineProcessing(processType, m_commandLine);

            m_commandLine.Dispose();
        }
 /// <summary>
 /// Returns a writable copy of this object.
 /// </summary>
 public CefCommandLine Copy()
 {
     return(CefCommandLine.FromNative(cef_command_line_t.copy(_self)));
 }
 /// <summary>
 /// Create a new CefCommandLine instance.
 /// </summary>
 public static CefCommandLine Create()
 {
     return(CefCommandLine.FromNative(cef_command_line_t.create()));
 }