# Enum `kurogane::ChromeCommand`

```rust
#[non_exhaustive]
pub enum ChromeCommand {
    Back,
    Forward,
    Reload,
    Stop,
    ZoomIn,
    ZoomOut,
    ZoomReset,
    Fullscreen,
    Find,
    Print,
    Cut,
    Copy,
    Paste,
    Delete,
    SelectAll,
    Undo,
    Redo,
    Close,
    DevTools,
}
```

A command Chromium runs in a window of the application's, from a key
shortcut or the context menu, as
[`App::on_chrome_command`](https://kurogane-rs.org/docs/api/app/app.md#method.on_chrome_command) is asked about
it. Chromium's own commands are folded by what the user asked for. Every
kind of reload is [`Reload`](https://kurogane-rs.org/docs/api/requests/chromecommand.md#variant.Reload); the context menu's Copy and
Ctrl+C are both [`Copy`](https://kurogane-rs.org/docs/api/requests/chromecommand.md#variant.Copy).

[Self::Reload]: https://kurogane-rs.org/docs/api/requests/chromecommand.md#variant.Reload
[Self::Copy]: https://kurogane-rs.org/docs/api/requests/chromecommand.md#variant.Copy
[crate::App::on_chrome_command]: https://kurogane-rs.org/docs/api/app/app.md#method.on_chrome_command

## Variants

### `Back`

```rust
Back
```

### `Forward`

```rust
Forward
```

### `Reload`

```rust
Reload
```

Reload, also bypassing or clearing the cache.

### `Stop`

```rust
Stop
```

### `ZoomIn`

```rust
ZoomIn
```

### `ZoomOut`

```rust
ZoomOut
```

### `ZoomReset`

```rust
ZoomReset
```

### `Fullscreen`

```rust
Fullscreen
```

### `Find`

```rust
Find
```

Find, find next and find previous.

### `Print`

```rust
Print
```

### `Cut`

```rust
Cut
```

### `Copy`

```rust
Copy
```

### `Paste`

```rust
Paste
```

Paste, also matching the style around it.

### `Delete`

```rust
Delete
```

### `SelectAll`

```rust
SelectAll
```

### `Undo`

```rust
Undo
```

### `Redo`

```rust
Redo
```

### `Close`

```rust
Close
```

Closing the window (Ctrl+W and Ctrl+Shift+W).

### `DevTools`

```rust
DevTools
```

DevTools, its console, inspect and the context menu's Inspect.

## Trait implementations

- `impl Clone for ChromeCommand`
- `impl Copy for ChromeCommand`
- `impl Debug for ChromeCommand`
- `impl Eq for ChromeCommand`
- `impl Hash for ChromeCommand`
- `impl PartialEq for ChromeCommand`

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