mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
Compare commits
1 Commits
55e9d8d166
...
window-deb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58ca323918 |
@@ -28,6 +28,8 @@ const EventTarget = @import("../dom/event_target.zig").EventTarget;
|
|||||||
|
|
||||||
const storage = @import("../storage/storage.zig");
|
const storage = @import("../storage/storage.zig");
|
||||||
|
|
||||||
|
const log = std.log.scoped(.window);
|
||||||
|
|
||||||
// https://dom.spec.whatwg.org/#interface-window-extensions
|
// https://dom.spec.whatwg.org/#interface-window-extensions
|
||||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
|
||||||
pub const Window = struct {
|
pub const Window = struct {
|
||||||
@@ -66,6 +68,10 @@ pub const Window = struct {
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn _debug(_: *Window, str: []const u8) void {
|
||||||
|
log.debug("{s}", .{str});
|
||||||
|
}
|
||||||
|
|
||||||
pub fn get_self(self: *Window) *Window {
|
pub fn get_self(self: *Window) *Window {
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user