mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
19 lines
426 B
Zig
19 lines
426 B
Zig
const URL = @import("url.zig").URL;
|
|
const browser = @import("browser/browser.zig");
|
|
|
|
pub const Notification = union(enum) {
|
|
page_navigate: PageNavigate,
|
|
page_navigated: PageNavigated,
|
|
|
|
pub const PageNavigate = struct {
|
|
timestamp: u32,
|
|
url: *const URL,
|
|
reason: browser.NavigateReason,
|
|
};
|
|
|
|
pub const PageNavigated = struct {
|
|
timestamp: u32,
|
|
url: *const URL,
|
|
};
|
|
};
|