# Trait `kurogane::ClientAppBrowserDelegate`

```rust
pub trait ClientAppBrowserDelegate: Send + Sync {
    fn on_before_command_line_processing(&self, _command_line: &mut CommandLine) { ... }
    fn on_context_initialized(&self) { ... }
}
```

Customizes browser-process startup behavior.

Register via App::delegate to customize browser-process startup
without replacing Kurogane's built-in runtime.

Delegates are invoked in registration order.

## Provided methods

### `on_before_command_line_processing`

```rust
fn on_before_command_line_processing(&self, _command_line: &mut CommandLine)
```

Invoked before Chromium processes command-line arguments.

Prefer App::chromium_flag for simple flag configuration.
This hook exists as a lower-level escape hatch.

### `on_context_initialized`

```rust
fn on_context_initialized(&self)
```

Invoked after the browser process has initialized its request context.

At this point global browser-process initialization has completed and browser creation may begin.

Source: https://github.com/0x48piraj/kurogane/blob/584c586118ee53cc04604007ee038557bd859092/kurogane/src/app.rs#L149
